diff options
author | Felipe Balbi <balbi@ti.com> | 2012-07-25 15:05:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 09:58:45 -0700 |
commit | 73f2989d37a36614fe13f24891ebe1e44fe5887d (patch) | |
tree | 9d5c99900e8c344531ad18dd651e6ce3f2c26a3f /drivers/w1 | |
parent | 042a713fa4369ffc2fcb2f93400bc862a04a1f0f (diff) | |
download | linux-stable-73f2989d37a36614fe13f24891ebe1e44fe5887d.tar.gz linux-stable-73f2989d37a36614fe13f24891ebe1e44fe5887d.tar.bz2 linux-stable-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')
-rw-r--r-- | drivers/w1/masters/Kconfig | 1 | ||||
-rw-r--r-- | drivers/w1/masters/omap_hdq.c | 3 |
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" |