[PATCH 3/6] usb i.MX21: use IMX_HAVE_PLATFORM_IMX21_HCD to depend on

Sascha Hauer s.hauer at pengutronix.de
Thu Mar 3 08:30:57 EST 2011


The i.MX architecture provides IMX_HAVE_PLATFORM_* macros to signal
that a selected SoC supports a certain hardware. Use them instead of
depending on ARCH_* directly.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh at suse.de>
Cc: linux-usb at vger.kernel.org
---
 drivers/usb/host/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 0e6afa2..40bb79f 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -463,7 +463,7 @@ config USB_HWA_HCD
 
 config USB_IMX21_HCD
        tristate "iMX21 HCD support"
-       depends on USB && ARM && MACH_MX21
+       depends on USB && IMX_HAVE_PLATFORM_IMX21_HCD
        help
          This driver enables support for the on-chip USB host in the
          iMX21 processor.
-- 
1.7.2.3




More information about the linux-arm-kernel mailing list