Input: hp_sdc_rtc should depend on serio
authorAlexander Beregalov <[email protected]>
Sat, 11 Apr 2009 23:55:41 +0000 (16:55 -0700)
committerDmitry Torokhov <[email protected]>
Wed, 15 Apr 2009 15:58:19 +0000 (08:58 -0700)
Fix this build error when CONFIG_SERIO is not set
hp_sdc_rtc.c:691: undefined reference to `hp_sdc_request_timer_irq'
and so on..

"select should be used with care. select will force
a symbol to a value without visiting the dependencies."

Signed-off-by: Alexander Beregalov <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/misc/Kconfig

index 203abac1e23e683bc1c8169f6739dc79502ca0e0..5c0a631d145537b5d597899147d186550dfde3df 100644 (file)
@@ -214,7 +214,7 @@ config INPUT_SGI_BTNS
 
 config HP_SDC_RTC
        tristate "HP SDC Real Time Clock"
-       depends on GSC || HP300
+       depends on (GSC || HP300) && SERIO
        select HP_SDC
        help
          Say Y here if you want to support the built-in real time clock