|
@@ -80,7 +80,7 @@ struct card_info {
|
|
u16 xmode_n; /* Size of unprobed mode range */
|
|
u16 xmode_n; /* Size of unprobed mode range */
|
|
};
|
|
};
|
|
|
|
|
|
-#define __videocard struct card_info __attribute__((section(".videocards")))
|
|
|
|
|
|
+#define __videocard struct card_info __attribute__((used,section(".videocards")))
|
|
extern struct card_info video_cards[], video_cards_end[];
|
|
extern struct card_info video_cards[], video_cards_end[];
|
|
|
|
|
|
int mode_defined(u16 mode); /* video.c */
|
|
int mode_defined(u16 mode); /* video.c */
|