USB: fix the USB_GADGET_DUMMY_HCD dependencies

If USB=m, USB_GADGET=y, the option USB_GADGET_DUMMY_HCD mustn't be 
offered since selecting it results in a compile error.

This patch fixes kernel Bugzilla #6534 reported by Toralf Frster.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Adrian Bunk 2006-07-31 01:43:53 +02:00 коммит произвёл Greg Kroah-Hartman
Родитель 168ffc4446
Коммит be0c8015a2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -207,7 +207,7 @@ config USB_AT91
config USB_GADGET_DUMMY_HCD config USB_GADGET_DUMMY_HCD
boolean "Dummy HCD (DEVELOPMENT)" boolean "Dummy HCD (DEVELOPMENT)"
depends on USB && EXPERIMENTAL depends on (USB=y || (USB=m && USB_GADGET=m)) && EXPERIMENTAL
select USB_GADGET_DUALSPEED select USB_GADGET_DUALSPEED
help help
This host controller driver emulates USB, looping all data transfer This host controller driver emulates USB, looping all data transfer