diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-23 15:10:07 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 13:52:43 -0500 |
commit | ff47f59467388104d369a441aa6996d257343775 (patch) | |
tree | 895601c59ad3b136817f0c1c944a2272fbd7a4a8 /drivers/usb/gadget/Kconfig | |
parent | 19b10a8828a6cdd5a4e7e37babd5084d35641f87 (diff) |
usb: gadget: f_acm: convert to new function interface with backwards compatibility
This patch converts f_acm into a module which uses the new function
interface. It also converts one of its users that is g_serial to make
use of it. The other users of it (g_nokia for instance) are still using
the old include file system and should not notice the change at all. So
they can be converter later independently.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 8aefbbddf2a7..b61c72fc305a 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -500,6 +500,9 @@ config USB_LIBCOMPOSITE | |||
500 | tristate | 500 | tristate |
501 | depends on USB_GADGET | 501 | depends on USB_GADGET |
502 | 502 | ||
503 | config USB_F_ACM | ||
504 | tristate | ||
505 | |||
503 | config USB_F_SS_LB | 506 | config USB_F_SS_LB |
504 | tristate | 507 | tristate |
505 | 508 | ||
@@ -758,6 +761,7 @@ config USB_GADGET_TARGET | |||
758 | config USB_G_SERIAL | 761 | config USB_G_SERIAL |
759 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" | 762 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" |
760 | select USB_U_SERIAL | 763 | select USB_U_SERIAL |
764 | select USB_F_ACM | ||
761 | select USB_LIBCOMPOSITE | 765 | select USB_LIBCOMPOSITE |
762 | help | 766 | help |
763 | The Serial Gadget talks to the Linux-USB generic serial driver. | 767 | The Serial Gadget talks to the Linux-USB generic serial driver. |