Skip to content

Commit

Permalink
[PATCH] fix section mismatch in pm2fb.o
Browse files Browse the repository at this point in the history
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: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Darren Jenkins authored and Linus Torvalds committed Apr 20, 2006
1 parent 6d472be commit c16c556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/pm2fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ static char *mode __devinitdata = NULL;
* these flags allow the user to specify that requests for +ve sync
* should be silently turned in -ve sync.
*/
static int lowhsync __devinitdata = 0;
static int lowvsync __devinitdata = 0;
static int lowhsync;
static int lowvsync;

/*
* The hardware state of the graphics card that isn't part of the
Expand Down

0 comments on commit c16c556

Please sign in to comment.