[PATCH 08/11] USB: Gadget: Select poller from USB_GADGET option

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 27 08:15:29 PST 2014


The poller has been merged to the gadget core, so
now the core needs poller support, not the individual drivers.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/usb/gadget/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index d75f54e..cd21ba7 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -1,5 +1,6 @@
 menuconfig USB_GADGET
 	select USB
+	select POLLER
 	bool "USB gadget support"
 
 if USB_GADGET
@@ -13,7 +14,6 @@ config USB_GADGET_DRIVER_ARC
 	depends on ARCH_IMX || ARCH_MXS
 	default y
 	select USB_GADGET_DUALSPEED
-	select POLLER
 
 config USB_GADGET_DRIVER_AT91
 	bool
@@ -21,7 +21,6 @@ config USB_GADGET_DRIVER_AT91
 	depends on ARCH_AT91
 	default y
 	select USB_GADGET_DUALSPEED
-	select POLLER
 
 config USB_GADGET_DRIVER_PXA27X
 	bool
@@ -29,7 +28,6 @@ config USB_GADGET_DRIVER_PXA27X
 	depends on ARCH_PXA
 	default y
 	select USB_GADGET_DUALSPEED
-	select POLLER
 
 comment "USB Gadget drivers"
 
-- 
2.1.3




More information about the barebox mailing list