patch-2.4.10 linux/drivers/video/amifb.c

Next file: linux/drivers/video/atafb.c
Previous file: linux/drivers/video/acornfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/video/amifb.c linux/drivers/video/amifb.c
@@ -911,7 +911,7 @@
 
 #define NUM_TOTAL_MODES  ARRAY_SIZE(ami_modedb)
 
-static const char *mode_option __initdata = NULL;
+static char *mode_option __initdata = NULL;
 static int round_down_bpp = 1;	/* for mode probing */
 
 	/*
@@ -3334,6 +3334,8 @@
 
 
 #ifdef MODULE
+MODULE_LICENSE("GPL");
+
 int init_module(void)
 {
 	return amifb_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)