linux-kernel-test/arch/arm/mach-mv78xx0
Arnd Bergmann e7215fb33a ARM: mv78xx0: mark mv78xx0_timer_init as __init_refok
The sys_timer init function is only called at __init time,
so it's safe to mark mv78xx0_timer_init as __init_refok,
which allows us to call orion_time_init without getting
a link time warning.

Without this patch, building mv78xx0_defconfig results in:

WARNING: vmlinux.o(.text+0x15470): Section mismatch in reference from the function mv78xx0_timer_init() to the function .init.text:orion_time_init()
The function mv78xx0_timer_init() references
the function __init orion_time_init().
This is often because mv78xx0_timer_init lacks a __init
annotation or the annotation of orion_time_init is wrong.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
2012-10-07 10:33:07 +02:00
..
include/mach ARM: Orion: Fix WDT compile for Dove and MV78xx0 2012-07-04 10:37:34 +02:00
addr-map.c ARM: mv78xx0: fix win_cfg_base prototype 2012-08-13 21:11:28 +02:00
buffalo-wxl-setup.c ARM: restart: mv78xx0: use new restart hook 2012-01-05 12:57:15 +00:00
common.c ARM: mv78xx0: mark mv78xx0_timer_init as __init_refok 2012-10-07 10:33:07 +02:00
common.h New feature development 2012-01-09 14:38:51 -08:00
db78x00-bp-setup.c ARM: restart: mv78xx0: use new restart hook 2012-01-05 12:57:15 +00:00
irq.c ARM: Orion: DT support for IRQ and GPIO Controllers 2012-07-27 16:48:14 +02:00
Kconfig [ARM] MV78xx0: Support for Buffalo WXL (Terastation Duo) 2010-02-23 17:10:08 -05:00
Makefile [ARM] MV78xx0: Support for Buffalo WXL (Terastation Duo) 2010-02-23 17:10:08 -05:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
mpp.c ARM: Orion: Get address map from plat-orion instead of via platform_data 2011-12-13 18:46:55 -05:00
mpp.h ARM: orion: Fix Orion5x GPIO regression from MPP cleanup 2012-02-09 16:16:31 -08:00
pcie.c ARM: PCI: dove/kirkwood/mv78xx0: use sys->private_data 2012-05-16 15:24:11 +01:00
rd78x00-masa-setup.c ARM: restart: mv78xx0: use new restart hook 2012-01-05 12:57:15 +00:00