Skip to content

Commit

Permalink
Input: hp_sdc_rtc should depend on serio
Browse files Browse the repository at this point in the history
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 <a.beregalov@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Alexander Beregalov authored and Dmitry Torokhov committed Apr 15, 2009
1 parent 4f29523 commit d061ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d061ebd

Please sign in to comment.