Commit d061ebd5 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by Dmitry Torokhov

Input: hp_sdc_rtc should depend on serio

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: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 4f295232
...@@ -214,7 +214,7 @@ config INPUT_SGI_BTNS ...@@ -214,7 +214,7 @@ config INPUT_SGI_BTNS
config HP_SDC_RTC config HP_SDC_RTC
tristate "HP SDC Real Time Clock" tristate "HP SDC Real Time Clock"
depends on GSC || HP300 depends on (GSC || HP300) && SERIO
select HP_SDC select HP_SDC
help help
Say Y here if you want to support the built-in real time clock Say Y here if you want to support the built-in real time clock
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment