From ed114da4370ebee5126e8faf4eb0f1c9b96b32db Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 28 Jun 2016 15:36:01 -0500 Subject: lib/nhlt: drop nhlt_soc_add_endpoint() The nhlt_soc_add_endpoint() is no longer used. Drop its declaration. Change-Id: I3b68471650a43c5faae44bde523abca7ba250a34 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/15489 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel --- src/include/nhlt.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/include/nhlt.h') diff --git a/src/include/nhlt.h b/src/include/nhlt.h index 3300d43d5d35..17b7d1168af2 100644 --- a/src/include/nhlt.h +++ b/src/include/nhlt.h @@ -45,7 +45,7 @@ struct nhlt_format_config; * An example sequence: * * nhlt = nhlt_init() - * ep = nhlt_soc_add_endpoint() + * ep = nhlt_add_endpoint() * nhlt_endpoint_append_config(ep) * nhlt_endpoint_add_formats(ep) * nhlt_soc_serialize() @@ -97,19 +97,13 @@ int nhlt_add_ssp_endpoints(struct nhlt *nhlt, int virtual_bus_id, /* * Add endpoint to NHLT object. Returns NULL on error. * - * Note that the SoC variant uses SoC-specifc types for the hardware interface - * and device types. This is to allow the SoC code to validate its particular - * device support for specific hardware interfaces. - * - * The more generic nhlt_add_endpoint() is called by the SoC code to provide + * generic nhlt_add_endpoint() is called by the SoC code to provide * the specific assumptions/uses for NHLT for that platform. All fields * are the NHLT enumerations found within this header file. */ struct nhlt_endpoint *nhlt_add_endpoint(struct nhlt *nhlt, int link_type, int device_type, int dir, uint16_t vid, uint16_t did); -struct nhlt_endpoint *nhlt_soc_add_endpoint(struct nhlt *nhlt, int soc_hwintf, - int soc_devtype, int dir); /* * Append blob of configuration to the endpoint proper. Returns 0 on -- cgit v1.2.3