aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorPrashant Malani <[email protected]>2022-06-15 17:20:18 +0000
committerGreg Kroah-Hartman <[email protected]>2022-06-21 16:38:14 +0200
commita37599ebfb656c2af4ca119de556eba29b6926d6 (patch)
tree087db5656375206709c8242c38449ef7567ce443 /drivers/usb/cdns3/cdns3-imx.c
parent144a96f7f96e412c3367f51cf2c57f52e3f1110d (diff)
usb: typec: mux: Add CONFIG guards for functions
There are some drivers that can use the Type C mux API, but don't have to. Introduce CONFIG guards for the mux functions so that drivers can include the header file and not run into compilation errors on systems which don't have CONFIG_TYPEC enabled. When CONFIG_TYPEC is not enabled, the Type C mux functions will be stub versions of the original calls. Reported-by: kernel test robot <[email protected]> Reviewed-by: NĂ­colas F. R. A. Prado <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Tested-by: NĂ­colas F. R. A. Prado <[email protected]> Signed-off-by: Prashant Malani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions