diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-08-10 21:02:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:12 -0400 |
commit | 8cfdcb2393b05cc80f89ed0110c0f90423d2fee1 (patch) | |
tree | d5a45d10fa6aaa207bae7e19fb0f32334015873e /drivers/video/s3c-fb.c | |
parent | a8bdabca3ad69de632bd13f1cb65639e9a556e20 (diff) |
s3c-fb: fix section mismatch
This patch fixes the following section mismatch errors:
WARNING: vmlinux.o(.data+0x20b40): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b58): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b70): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r-- | drivers/video/s3c-fb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index b10d16dc0335..a95314ddf709 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c | |||
@@ -1478,7 +1478,7 @@ static int s3c_fb_resume(struct platform_device *pdev) | |||
1478 | #define VALID_BPP124 (VALID_BPP(1) | VALID_BPP(2) | VALID_BPP(4)) | 1478 | #define VALID_BPP124 (VALID_BPP(1) | VALID_BPP(2) | VALID_BPP(4)) |
1479 | #define VALID_BPP1248 (VALID_BPP124 | VALID_BPP(8)) | 1479 | #define VALID_BPP1248 (VALID_BPP124 | VALID_BPP(8)) |
1480 | 1480 | ||
1481 | static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] __devinitdata = { | 1481 | static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = { |
1482 | [0] = { | 1482 | [0] = { |
1483 | .has_osd_c = 1, | 1483 | .has_osd_c = 1, |
1484 | .osd_size_off = 0x8, | 1484 | .osd_size_off = 0x8, |
@@ -1526,7 +1526,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] __devinitdata = { | |||
1526 | }, | 1526 | }, |
1527 | }; | 1527 | }; |
1528 | 1528 | ||
1529 | static struct s3c_fb_driverdata s3c_fb_data_64xx __devinitdata = { | 1529 | static struct s3c_fb_driverdata s3c_fb_data_64xx = { |
1530 | .variant = { | 1530 | .variant = { |
1531 | .nr_windows = 5, | 1531 | .nr_windows = 5, |
1532 | .vidtcon = VIDTCON0, | 1532 | .vidtcon = VIDTCON0, |
@@ -1556,7 +1556,7 @@ static struct s3c_fb_driverdata s3c_fb_data_64xx __devinitdata = { | |||
1556 | .win[4] = &s3c_fb_data_64xx_wins[4], | 1556 | .win[4] = &s3c_fb_data_64xx_wins[4], |
1557 | }; | 1557 | }; |
1558 | 1558 | ||
1559 | static struct s3c_fb_driverdata s3c_fb_data_s5pc100 __devinitdata = { | 1559 | static struct s3c_fb_driverdata s3c_fb_data_s5pc100 = { |
1560 | .variant = { | 1560 | .variant = { |
1561 | .nr_windows = 5, | 1561 | .nr_windows = 5, |
1562 | .vidtcon = VIDTCON0, | 1562 | .vidtcon = VIDTCON0, |
@@ -1586,7 +1586,7 @@ static struct s3c_fb_driverdata s3c_fb_data_s5pc100 __devinitdata = { | |||
1586 | .win[4] = &s3c_fb_data_64xx_wins[4], | 1586 | .win[4] = &s3c_fb_data_64xx_wins[4], |
1587 | }; | 1587 | }; |
1588 | 1588 | ||
1589 | static struct s3c_fb_driverdata s3c_fb_data_s5pv210 __devinitdata = { | 1589 | static struct s3c_fb_driverdata s3c_fb_data_s5pv210 = { |
1590 | .variant = { | 1590 | .variant = { |
1591 | .nr_windows = 5, | 1591 | .nr_windows = 5, |
1592 | .vidtcon = VIDTCON0, | 1592 | .vidtcon = VIDTCON0, |
@@ -1617,7 +1617,7 @@ static struct s3c_fb_driverdata s3c_fb_data_s5pv210 __devinitdata = { | |||
1617 | }; | 1617 | }; |
1618 | 1618 | ||
1619 | /* S3C2443/S3C2416 style hardware */ | 1619 | /* S3C2443/S3C2416 style hardware */ |
1620 | static struct s3c_fb_driverdata s3c_fb_data_s3c2443 __devinitdata = { | 1620 | static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = { |
1621 | .variant = { | 1621 | .variant = { |
1622 | .nr_windows = 2, | 1622 | .nr_windows = 2, |
1623 | .is_2443 = 1, | 1623 | .is_2443 = 1, |