ARM: Fix build if CLKDEV_LOOKUP is not configured
authorGuenter Roeck <linux@roeck-us.net>
Wed, 24 Jun 2015 03:49:05 +0000 (20:49 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Jun 2015 08:50:02 +0000 (09:50 +0100)
commit002af195a8c720ca47c7884fd0390f3b327423b9
tree55f6eadf9c296b38f5ed51e68ef52da38cb36f8b
parent9ce93bdda7b71fd154986d36c0c1ccf0e7338e26
ARM: Fix build if CLKDEV_LOOKUP is not configured

mips:allmodconfig fails to build with

drivers/clocksource/timer-sp804.c: In function '__sp804_clocksource_and_sched_clock_init':
drivers/clocksource/timer-sp804.c:88:3: error: implicit declaration of function 'clk_get_sys'

because CLKDEV_LOOKUP is not configured and the driver depends on it.

Fixes: 0b7402dce445 ("ARM: 8366/1: move Dual-Timer SP804 driver to drivers/clocksource")
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/clocksource/Kconfig