summaryrefslogtreecommitdiff
path: root/arch/x86/boot/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/video.h')
-rw-r--r--arch/x86/boot/video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/video.h b/arch/x86/boot/video.h
index cbf7fed22441..04bde0bb2003 100644
--- a/arch/x86/boot/video.h
+++ b/arch/x86/boot/video.h
@@ -78,7 +78,7 @@ struct card_info {
u16 xmode_n; /* Size of unprobed mode range */
};
-#define __videocard struct card_info __attribute__((used,section(".videocards")))
+#define __videocard struct card_info __section(".videocards") __attribute__((used))
extern struct card_info video_cards[], video_cards_end[];
int mode_defined(u16 mode); /* video.c */