diff options
| author | Randy Dunlap <[email protected]> | 2023-06-01 05:03:25 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-06-01 06:09:45 +0000 |
| commit | 243ff7e6a03533fd5f34036b4a2c297d844ffdc0 (patch) | |
| tree | f64d79a2cf052bf97de57b92f6514baa90dd254c /drivers/usb/cdns3/cdns3-gadget.c | |
| parent | usb: typec: qcom-pmic-typec: Convert to platform remove callback returning void (diff) | |
| download | kernel-243ff7e6a03533fd5f34036b4a2c297d844ffdc0.tar.gz kernel-243ff7e6a03533fd5f34036b4a2c297d844ffdc0.zip | |
usb: typec: mux: fix static inline syntax error
Fix build error when USB_SUPPORT is not set or TYPEC is not set
by dropping an extraneous semi-colon:
In file included from ../drivers/phy/qualcomm/phy-qcom-qmp-combo.c:23:
../include/linux/usb/typec_mux.h:77:1: error: expected identifier or '(' before '{' token
77 | {
| ^
../include/linux/usb/typec_mux.h:76:33: warning: 'fwnode_typec_mux_get' used but never defined
76 | static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode);
| ^~~~~~~~~~~~~~~~~~~~
Fixes: 3524fe31538c ("usb: typec: mux: Remove alt mode parameters from the API")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Heikki Krogerus <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [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-gadget.c')
0 files changed, 0 insertions, 0 deletions
