Skip to contentSkip to conversation

platform: hp_accel: Add SERIO_I8042 as a dependency since it now includes i8042.h/serio.h

PATCH In review Giedrius Statkevicius 2 participants 2 messages Nov 10, 2014 – Nov 11, 2014 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform: hp_accel: Add SERIO_I8042 as a dependency since it now includes i8042.h/serio.h

Make hp_accel dependent on SERIO_I8042 in the Kconfig because since commit a4c724d0723b078e4ab4670e557cda1795036a7a ('platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream') hp_accel includes i8042.h and serio.h.

---
 drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +1 -0
index 4dcfb71..7d146e68 100644
@@ -202,6 +202,7 @@ config TC1100_WMI
 config HP_ACCEL
 	tristate "HP laptop accelerometer"
 	depends on INPUT && ACPI
+        depends on SERIO_I8042
 	select SENSORS_LIS3LV02D
 	select NEW_LEDS
 	select LEDS_CLASS
Signature · 1 line
2.1.3
#1 lore raw
Quoted 16 lines · Giedrius Statkevicius

Make hp_accel dependent on SERIO_I8042 in the Kconfig because since commit a4c724d0723b078e4ab4670e557cda1795036a7a ('platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream') hp_accel includes i8042.h and serio.h.

---
 drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +0 -0
index 4dcfb71..7d146e68 100644

drivers/platform/x86/Kconfig config TC1100_WMI · line 205

Quoted 4 lines
drivers/platform/x86/Kconfig +1 -0
@@ -202,6 +202,7 @@ config TC1100_WMI
 config HP_ACCEL
 	tristate "HP laptop accelerometer"
 	depends on INPUT && ACPI
+        depends on SERIO_I8042

Whitespace error, this should be a tab. I suggest making whitespace visible in your editor to avoid this kind of thing.

I've corrected it and queued it.

Thanks,

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center