Arnd Bergmann 8d93241b92 video: mark nuc900fb_map_video_memory as __devinit
nuc900fb_map_video_memory is called by an devinit function
that may be called at run-time, but the function itself is
marked __init and will be discarded after boot.

To avoid calling into a function that may have been overwritten,
mark nuc900fb_map_video_memory itself as __devinit.

Without this patch, building nuc950_defconfig results in:

WARNING: drivers/video/built-in.o(.devinit.text+0x26c): Section mismatch in reference from the function nuc900fb_probe() to the function .init.text:nuc900fb_map_video_memory()
The function __devinit nuc900fb_probe() references
a function __init nuc900fb_map_video_memory().
If nuc900fb_map_video_memory is only used by nuc900fb_probe then
annotate nuc900fb_map_video_memory with a matching annotation.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2012-10-10 02:07:10 +00:00
..
2012-08-01 10:45:12 -07:00
2012-04-08 14:27:08 +00:00
2011-10-03 15:52:38 +00:00
2012-04-08 14:27:09 +00:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2009-01-12 20:56:32 +01:00
2012-07-24 12:58:15 +02:00
2012-03-28 18:30:03 +01:00
2012-04-24 09:50:21 +01:00
2011-09-01 00:31:05 +00:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2012-07-08 14:03:17 +00:00
2010-05-25 08:07:09 -07:00
2012-09-22 21:16:20 +00:00
2012-02-15 04:31:21 +00:00
2012-07-24 12:58:15 +02:00
2011-09-27 18:08:04 +02:00
2012-09-22 21:18:53 +00:00
2012-01-22 14:50:02 +01:00
2010-02-27 18:31:14 +01:00
2012-09-22 21:18:53 +00:00
2011-09-14 16:40:52 +00:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2010-12-21 01:05:43 +09:00
2012-07-08 14:03:50 +00:00
2010-05-25 08:07:09 -07:00
2012-08-01 10:45:12 -07:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-10-03 15:52:22 +00:00
2011-06-24 17:14:39 +09:00
2010-02-27 18:31:13 +01:00
2011-07-04 16:02:48 +09:00