Skip to contentSkip to conversation

w1: W1_MASTER_DS1WM should depend on GENERIC_HARDIRQS

PATCH In review Geert Uytterhoeven 1 participant 1 message May 31, 2011 W1 dallas's 1-wire bus

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 w1: W1_MASTER_DS1WM should depend on GENERIC_HARDIRQS

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’

---
 drivers/w1/masters/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/w1/masters/Kconfig +1 -1
index 00d615d..979d6ee 100644
@@ -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
Signature · 1 line
1.7.0.4