OSDN Git Service

clocksource: exynos_mct: fix build error on non-DT
authorArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 20:00:04 +0000 (22:00 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 20:00:04 +0000 (22:00 +0200)
commitf4636d0ad7eee4741ef5146080e9ce57b9e2de0b
tree91505f0e11e58afbd7d28b42b2a1086b4ddc4df2
parent1f1a73571cb64713641cb75690c4686a4cabc96d
clocksource: exynos_mct: fix build error on non-DT

There is currently no alternative implementation for of_irq_count
when the function is not defined, and the declaration is hidden,
so this works around calling an undeclared function. It should
really not be needed.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/clocksource/exynos_mct.c