From: Randy Dunlap <[email protected]>

Fix usb3503 build error - it uses an interface that is provided by
REGMAP_I2C, so it needs to select that symbol.

  drivers/built-in.o: In function `usb3503_i2c_probe':
  usb3503.c:(.text+0x1b2519): undefined reference to `devm_regmap_init_i2c'

Reported-by: JP P <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
---
 drivers/usb/misc/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- lnx-312-rc5.orig/drivers/usb/misc/Kconfig
+++ lnx-312-rc5/drivers/usb/misc/Kconfig
@@ -247,5 +247,6 @@ config USB_HSIC_USB3503
        tristate "USB3503 HSIC to USB20 Driver"
        depends on I2C
        select REGMAP
+       select REGMAP_I2C
        help
          This option enables support for SMSC USB3503 HSIC to USB 2.0 Driver.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to