diff options
| author | Arnd Bergmann <[email protected]> | 2015-02-18 22:07:07 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-02-23 09:14:33 -0600 |
| commit | eed97ef39a30e3301c5a7f0c94db63130bbe785b (patch) | |
| tree | df769a9f953cf47d093113814cd0aa57bf7e1ff5 /net/switchdev/switchdev.c | |
| parent | 606bf4d5d630781c0e626b6811ac3aabb57fdf1b (diff) | |
usb: renesas: fix extcon dependency
The renesas usbhs driver calls extcon_get_edev_by_phandle(), which
is defined in drivers/extcon/extcon-class.c, and that can be a
loadable module. If the extcon-class support is disabled, usbhs
will work correctly for all devices that do not need extcon.
However, if extcon-class is a loadable module, and usbhs is
built-in, the kernel fails to link. In order to solve that,
we need a Kconfig dependency that allows extcon to be disabled
but does not allow usbhs built-in if extcon is a module.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions