patch-2.3.14 linux/drivers/video/chipsfb.c

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

diff -u --recursive --new-file v2.3.13/linux/drivers/video/chipsfb.c linux/drivers/video/chipsfb.c
@@ -112,7 +112,7 @@
 /*
  * Exported functions
  */
-void chips_init(void);
+int chips_init(void);
 void chips_of_init(struct device_node *dp);
 
 static int chips_open(struct fb_info *info, int user);
@@ -645,7 +645,7 @@
 	all_chips = p;
 }
 
-void __init chips_init(void)
+int __init chips_init(void)
 {
 #ifndef CONFIG_FB_OF
 	struct device_node *dp;
@@ -654,6 +654,7 @@
 	if (dp != 0)
 		chips_of_init(dp);
 #endif /* CONFIG_FB_OF */
+	return 0;
 }
 
 void __init chips_of_init(struct device_node *dp)

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