diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-03-06 13:39:18 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-03-06 13:39:18 +0900 |
commit | fcb1fec7fece6b9889deaedf5b7d21f4f5a26381 (patch) | |
tree | 0cb68b3fc41b229b0ec1e964d8324f9fcca4d5e1 /arch | |
parent | b2839ed83f54d40870747ac8d655504dff63d1c5 (diff) |
fb: pvr2fb: Fix up remaining section mismatch.
Building with CONFIG_DEBUG_SECTION_MISMATCH=y reports:
CC drivers/video/pvr2fb.o
LD drivers/video/built-in.o
WARNING: drivers/video/built-in.o(.text+0xb9b0): Section mismatch in reference from the function pvr2fb_check_var() to the variable .devinit.data:pvr2_fix
The function pvr2fb_check_var() references
the variable __devinitdata pvr2_fix.
This is often because pvr2fb_check_var lacks a __devinitdata
annotation or the annotation of pvr2_fix is wrong.
This is obviously crap as no such reference exists, but it's a bit
closer to reality from older versions which blamed the PCI table. The
real problem was a reference to pvr2_var.vmode from pvr2fb_check_var(),
as pvr2_var is flagged as __devinitdata (pvr2_fix is also, so at least
that part is right).
pvr2_var.vmode is just a fancy way of saying FB_VMODE_NONINTERLACED, so
we just reference that explicitly instead.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions