diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-03-20 16:28:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 10:54:39 +0100 |
commit | d728189d10a0bea28ecb0e9acde1ea517112d090 (patch) | |
tree | c1c2cbb53e8a33f01a957ba8813d8ddc990bbd77 /drivers/usb/chipidea/Kconfig | |
parent | 3a316ec4c91cfe03093d708369f9ab57000c96c3 (diff) | |
download | blackbird-op-linux-d728189d10a0bea28ecb0e9acde1ea517112d090.tar.gz blackbird-op-linux-d728189d10a0bea28ecb0e9acde1ea517112d090.zip |
chipidea: introduce specific Kconfig options for glue drivers
This patch introduces USB_CHIPIDEA_PCI and USB_CHIPIDEA_OF Kconfig options, one
per each specific glue driver. This is needed to provide different dependencies
they have.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/Kconfig')
-rw-r--r-- | drivers/usb/chipidea/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig index 77b47d82c9a6..8b0edb9c6246 100644 --- a/drivers/usb/chipidea/Kconfig +++ b/drivers/usb/chipidea/Kconfig @@ -10,6 +10,16 @@ config USB_CHIPIDEA if USB_CHIPIDEA +config USB_CHIPIDEA_OF + tristate + depends on OF + default USB_CHIPIDEA + +config USB_CHIPIDEA_PCI + tristate + depends on PCI + default USB_CHIPIDEA + config USB_CHIPIDEA_UDC bool "ChipIdea device controller" depends on USB_GADGET |