video: pvr2fb: Fix up spurious section mismatch warnings.
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>
This commit is contained in:
parent
bfe75c7e67
commit
6d7120a713
1 changed files with 1 additions and 1 deletions
|
@ -1061,7 +1061,7 @@ static struct pvr2_board {
|
||||||
int (*init)(void);
|
int (*init)(void);
|
||||||
void (*exit)(void);
|
void (*exit)(void);
|
||||||
char name[16];
|
char name[16];
|
||||||
} board_driver[] = {
|
} board_driver[] __refdata = {
|
||||||
#ifdef CONFIG_SH_DREAMCAST
|
#ifdef CONFIG_SH_DREAMCAST
|
||||||
{ pvr2fb_dc_init, pvr2fb_dc_exit, "Sega DC PVR2" },
|
{ pvr2fb_dc_init, pvr2fb_dc_exit, "Sega DC PVR2" },
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue