Skip to content

Commit

Permalink
video: pvr2fb: Fix up spurious section mismatch warnings.
Browse files Browse the repository at this point in the history
pvr2fb special cases its init/exit routines which causes spurious section
mismatches. Set the board_driver array __refdata to silence them.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 13, 2012
1 parent bfe75c7 commit 6d7120a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/pvr2fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ static struct pvr2_board {
int (*init)(void);
void (*exit)(void);
char name[16];
} board_driver[] = {
} board_driver[] __refdata = {
#ifdef CONFIG_SH_DREAMCAST
{ pvr2fb_dc_init, pvr2fb_dc_exit, "Sega DC PVR2" },
#endif
Expand Down

0 comments on commit 6d7120a

Please sign in to comment.