w1: omap-hdq: drop ARCH dependency
authorFelipe Balbi <balbi@ti.com>
Wed, 25 Jul 2012 12:05:32 +0000 (15:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 16:58:45 +0000 (09:58 -0700)
Let the driver compile everywhere while
also removing unnecessary headers.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/Kconfig
drivers/w1/masters/omap_hdq.c

index 5ceb1cd501955003182fe62b365da7d1b5d282f2..7e984034a11b03a97ae3e9fbfbfd4313297f98b8 100644 (file)
@@ -60,7 +60,6 @@ config W1_MASTER_GPIO
 
 config HDQ_MASTER_OMAP
        tristate "OMAP HDQ driver"
-       depends on ARCH_OMAP2PLUS
        help
          Say Y here if you want support for the 1-wire or HDQ Interface
          on an OMAP processor.
index c8a44642a5f129c102d3330d59351e628af5d767..ca8e60bb2f9cb386f454a33224d6cc7906a20fc7 100644 (file)
@@ -18,9 +18,6 @@
 #include <linux/sched.h>
 #include <linux/pm_runtime.h>
 
-#include <asm/irq.h>
-#include <mach/hardware.h>
-
 #include "../w1.h"
 #include "../w1_int.h"