[PATCH] usb: fix misc/usb3503.c build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

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 <jpliste@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux