Commit c16c556e authored by Darren Jenkins's avatar Darren Jenkins Committed by Linus Torvalds

[PATCH] fix section mismatch in pm2fb.o

WARNING: drivers/video/pm2fb.o - Section mismatch: reference
to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd5d)
WARNING: drivers/video/pm2fb.o - Section mismatch: reference
to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd82)

They are caused because pm2fb_set_par() uses lowhsync and lowvsync which
are marked __devinitdata.
Signed-off-by: default avatarDarren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6d472be3
...@@ -73,8 +73,8 @@ static char *mode __devinitdata = NULL; ...@@ -73,8 +73,8 @@ static char *mode __devinitdata = NULL;
* these flags allow the user to specify that requests for +ve sync * these flags allow the user to specify that requests for +ve sync
* should be silently turned in -ve sync. * should be silently turned in -ve sync.
*/ */
static int lowhsync __devinitdata = 0; static int lowhsync;
static int lowvsync __devinitdata = 0; static int lowvsync;
/* /*
* The hardware state of the graphics card that isn't part of the * The hardware state of the graphics card that isn't part of the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment