]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: remove useless init_time for DT-only SoCs
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 10 Nov 2014 07:31:49 +0000 (08:31 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 19 Nov 2014 22:23:59 +0000 (23:23 +0100)
commit8c6fce4e9b3b5488b39b61babbbeb27cb09ca123
tree57cca55c021caa81ff6493a41f1bf62f7e2c0a59
parent980659c549e324235538a8cedaee1825c4359af7
ARM: at91: remove useless init_time for DT-only SoCs

Commits a405a0ce67f8eedc577af16ed48e9e181142d5d6 and
47b426c439fe8c93a43876e1aec6cffaa8c7496e introduced compilation errors
("error: 'NR_IRQS_LEGACY' undeclared (first use in this function)") because
they remove the asm/irq.h inclusion while the init_time function needs it
for the NR_IRQS_LEGACY definition.

In the other hand, the point of these commits is to remove board file
support, and init_time is only needed when booting non-DT boards, we can
thus safely remove init_time functions.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9rl.c