clocksource: always define CLOCKSOURCE_OF_DECLARE
authorStephen Warren <swarren@nvidia.com>
Wed, 30 Jan 2013 17:49:30 +0000 (10:49 -0700)
committerOlof Johansson <olof@lixom.net>
Fri, 1 Feb 2013 03:57:30 +0000 (19:57 -0800)
commite1d7ef1cc472de30995a50ecb9c7aa3361f985f9
treeeac0288e3b522bf85d46c4ae6af010264e42a562
parent80debae58435423def63632273139ee5fcb99c69
clocksource: always define CLOCKSOURCE_OF_DECLARE

This allows clocksource drivers that support both DT and non-DT to
always invoke macro CLOCKSOURCE_OF_DECLARE(), rather than wrapping
it in a #ifdef CONFIG_CLKSRC_OF, which simplifies their code.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
include/linux/clocksource.h