diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-02-20 16:58:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-20 20:10:16 -0500 |
commit | f1d2120487de3620ff47367d7bc0e290dc868c47 (patch) | |
tree | 1f476a6af11e1794cd99f655e0df78e385822c87 /drivers/video | |
parent | 5fc404e47bdf2d34ffc2edc16070cda410838291 (diff) |
[PATCH] i810fb: fix i810_check_params section mismatch
WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference
to .init.data: from .text between 'i810_check_params' (at offset
0x1123) and 'encode_fix'
yres cannot be declared __devinitdata as it is used in
i810_check_params(), which isn't __devinit.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/i810/i810_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index ab1b8fe34d6d..7e760197cf29 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c | |||
@@ -142,7 +142,7 @@ static int hsync2 __devinitdata; | |||
142 | static int vsync1 __devinitdata; | 142 | static int vsync1 __devinitdata; |
143 | static int vsync2 __devinitdata; | 143 | static int vsync2 __devinitdata; |
144 | static int xres __devinitdata; | 144 | static int xres __devinitdata; |
145 | static int yres __devinitdata; | 145 | static int yres; |
146 | static int vyres __devinitdata; | 146 | static int vyres __devinitdata; |
147 | static int sync __devinitdata; | 147 | static int sync __devinitdata; |
148 | static int extvga __devinitdata; | 148 | static int extvga __devinitdata; |