projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe75c7
)
video: pvr2fb: Fix up spurious section mismatch warnings.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 13 Jan 2012 07:42:50 +0000
(16:42 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 13 Jan 2012 07:42:50 +0000
(16:42 +0900)
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>
drivers/video/pvr2fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/pvr2fb.c
b/drivers/video/pvr2fb.c
index f9975100d56d3f311e812c71ad4cd8219e0a797f..3a3fdc62c75b354c08f461b4ab92c1f05e0d5f2d 100644
(file)
--- a/
drivers/video/pvr2fb.c
+++ b/
drivers/video/pvr2fb.c
@@
-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