linux/arch
Daniel Lezcano 1727339590 clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE
The CLOCKSOURCE_OF_DECLARE macro is used widely for the timers to declare the
clocksource at early stage. However, this macro is also used to initialize
the clockevent if any, or the clockevent only.

It was originally suggested to declare another macro to initialize a
clockevent, so in order to separate the two entities even they belong to the
same IP. This was not accepted because of the impact on the DT where splitting
a clocksource/clockevent definition does not make sense as it is a Linux
concept not a hardware description.

On the other side, the clocksource has not interrupt declared while the
clockevent has, so it is easy from the driver to know if the description is
for a clockevent or a clocksource, IOW it could be implemented at the driver
level.

So instead of dealing with a named clocksource macro, let's use a more generic
one: TIMER_OF_DECLARE.

The patch has not functional changes.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2017-06-14 11:58:45 +02:00
..
alpha osf_wait4(): fix infoleak 2017-05-21 13:10:07 -04:00
arc signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
arm clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE 2017-06-14 11:58:45 +02:00
arm64 ACPI-related fixes for arm64: 2017-06-02 12:06:27 -07:00
blackfin uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
c6x signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
cris signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
frv frv: declare jiffies to be located in the .data section 2017-06-02 15:07:37 -07:00
h8300 signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
hexagon signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
ia64 signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
m32r signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
m68k signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
metag devicetree: Move include prefixes from arch to separate directory 2017-05-18 23:55:48 -07:00
microblaze clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE 2017-06-14 11:58:45 +02:00
mips clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE 2017-06-14 11:58:45 +02:00
mn10300 signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
nios2 clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE 2017-06-14 11:58:45 +02:00
openrisc Merge branch 'timers/urgent' into WIP.timers 2017-06-04 15:21:52 +02:00
parisc uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
powerpc powerpc fixes for 4.12 #4 2017-05-27 09:28:34 -07:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-05-16 09:24:44 -07:00
score signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
sh signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
sparc signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
tile arch/include: remove empty Kbuild files 2017-05-11 00:22:18 +09:00
um Merge branch 'for-linus-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2017-05-13 10:20:02 -07:00
unicore32 signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
x86 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-06-02 08:53:42 -07:00
xtensa signal: Remove non-uapi <asm/siginfo.h> 2017-06-04 15:11:47 +02:00
.gitignore
Kconfig Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-05-10 10:30:46 -07:00