staging: gdm72xx: WIMAX_GDM72XX should depend on either USB or MMC
authorBen Chan <benchan@chromium.org>
Tue, 4 Jun 2013 05:55:38 +0000 (22:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 22:31:15 +0000 (15:31 -0700)
commit82ba972572f4f4e768cae8fed51399747dd5605c
tree16dffa38a8625bd3b520d6272167f9fecfb56d15
parent5086c5082f1e31b332b2be3662cd75cd3e353bdc
staging: gdm72xx: WIMAX_GDM72XX should depend on either USB or MMC

The gdm72xx driver needs to have either the USB or SDIO implementation
enabled to provide useful functionalities, so the driver should depend
on either USB or MMC. This patch makes WIMAX_GDM72XX depend on either
USB or MMC.

Also, WIMAX_GDM72XX needs to be built as a module if its dependent
interface, either USB or MMC, is built as a module. This patch enforces
that in the WIMAX_GDM72XX_USB and WIMAX_GDM72XX_SDIO dependency.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ben Chan <benchan@chromium.org>
Cc: Sage Ahn <syahn@gctsemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/Kconfig