linux-brain/arch/arm/mach-ixp4xx
Arnd Bergmann 898c96f756 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
[ Upstream commit 7a3b8758bd6e45f7b671723b5c9fa2b69d0787ae ]

Compile-testing the ixp4xx timer with CONFIG_OF enabled but
CONFIG_TIMER_OF disabled leads to a harmless warning:

arm-linux-gnueabi-ld: warning: orphan section `__timer_of_table' from `drivers/clocksource/timer-ixp4xx.o' being placed in section `__timer_of_table'

Move the select statement from the platform code into the driver
so it always gets enabled in configurations that rely on it.

Fixes: 40df14cc5c ("clocksource/drivers/ixp4xx: Add OF initialization support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210103135955.3808976-1-arnd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 10:26:29 +01:00
..
include/mach treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig clocksource/drivers/ixp4xx: Select TIMER_OF when needed 2021-03-04 10:26:29 +01:00
Makefile ARM: ixp4xx: Move NPE and QMGR to drivers/soc 2019-04-23 16:02:15 +02:00
Makefile.boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
avila-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
avila-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00
common-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
common.c ARM: ixp4xx: Remove duplicated include from common.c 2019-05-16 10:53:15 -07:00
coyote-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
coyote-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00
dsmg600-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
dsmg600-setup.c ARM: ixp4xx: Switch to use new IRQ+GPIO drivers 2019-04-23 16:02:13 +02:00
fsg-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fsg-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00
gateway7001-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
gateway7001-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00
goramo_mlr.c ARM: ixp4xx: include irqs.h where needed 2019-06-18 03:49:44 -07:00
gtwx5715-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gtwx5715-setup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
irqs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ixdp425-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ixdp425-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00
ixdpg425-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ixp4xx-of.c ARM: ixp4xx: Add device tree boot support 2019-04-23 16:02:15 +02:00
miccpt-pci.c SPDX update for 5.2-rc6 2019-06-21 09:58:42 -07:00
nas100d-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
nas100d-setup.c ARM: ixp4xx: Switch to use new IRQ+GPIO drivers 2019-04-23 16:02:13 +02:00
nslu2-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
nslu2-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00
omixp-setup.c SPDX update for 5.2-rc6 2019-06-21 09:58:42 -07:00
vulcan-pci.c SPDX update for 5.2-rc6 2019-06-21 09:58:42 -07:00
vulcan-setup.c ARM: ixp4xx: include irqs.h where needed 2019-06-18 03:49:44 -07:00
wg302v2-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wg302v2-setup.c ARM: ixp4xx: Convert to SPARSE_IRQ 2019-04-19 20:37:44 +02:00