mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] w1: W1_MASTER_DS1WM should depend on GENERIC_HARDIRQS
@ 2011-05-31  9:35 Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2011-05-31  9:35 UTC (permalink / raw)
  To: Evgeniy Polyakov, Jean-François Dagenais, Matt Reimer,
	Andrew Morton
  Cc: linux-kernel, Geert Uytterhoeven

On m68k (which doesn't support generic hardirqs yet):

drivers/w1/masters/ds1wm.c: In function ‘ds1wm_probe’:
drivers/w1/masters/ds1wm.c: error: implicit declaration of function ‘irq_set_irq_type’

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/w1/masters/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig
index 00d615d..979d6ee 100644
--- a/drivers/w1/masters/Kconfig
+++ b/drivers/w1/masters/Kconfig
@@ -42,7 +42,7 @@ config W1_MASTER_MXC
 
 config W1_MASTER_DS1WM
 	tristate "Maxim DS1WM 1-wire busmaster"
-	depends on W1
+	depends on W1 && GENERIC_HARDIRQS
 	help
 	  Say Y here to enable the DS1WM 1-wire driver, such as that
 	  in HP iPAQ devices like h5xxx, h2200, and ASIC3-based like
-- 
1.7.0.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-31  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31  9:35 [PATCH 1/2] w1: W1_MASTER_DS1WM should depend on GENERIC_HARDIRQS Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®