summaryrefslogtreecommitdiffstats
path: root/drivers/w1/masters
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-07-25 15:05:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-16 09:58:45 -0700
commit73f2989d37a36614fe13f24891ebe1e44fe5887d (patch)
tree9d5c99900e8c344531ad18dd651e6ce3f2c26a3f /drivers/w1/masters
parent042a713fa4369ffc2fcb2f93400bc862a04a1f0f (diff)
downloadtalos-obmc-linux-73f2989d37a36614fe13f24891ebe1e44fe5887d.tar.gz
talos-obmc-linux-73f2989d37a36614fe13f24891ebe1e44fe5887d.zip
w1: omap-hdq: drop ARCH dependency
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>
Diffstat (limited to 'drivers/w1/masters')
-rw-r--r--drivers/w1/masters/Kconfig1
-rw-r--r--drivers/w1/masters/omap_hdq.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig
index 5ceb1cd50195..7e984034a11b 100644
--- a/drivers/w1/masters/Kconfig
+++ b/drivers/w1/masters/Kconfig
@@ -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.
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index c8a44642a5f1..ca8e60bb2f9c 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -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"
OpenPOWER on IntegriCloud