patch-2.3.13 linux/drivers/video/S3triofb.c

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

diff -u --recursive --new-file v2.3.12/linux/drivers/video/S3triofb.c linux/drivers/video/S3triofb.c
@@ -288,7 +288,7 @@
     return -EINVAL;
 }
 
-__initfunc(void s3triofb_init(void))
+void __init s3triofb_init(void)
 {
 #ifdef __powerpc__
     /* We don't want to be called like this. */
@@ -298,7 +298,7 @@
 #endif /* !__powerpc__ */
 }
 
-__initfunc(void s3trio_resetaccel(void)) {
+void __init s3trio_resetaccel(void){
 
 
 #define EC01_ENH_ENB    0x0005
@@ -341,7 +341,7 @@
 	outw( MF_PIX_CONTROL | MFA_SRC_FOREGR_MIX,  0xbee8);
 }
 
-__initfunc(int s3trio_init(struct device_node *dp)) {
+int __init s3trio_init(struct device_node *dp){
 
     u_char bus, dev;
     unsigned int t32;
@@ -402,7 +402,7 @@
      *  We heavily rely on OF for the moment. This needs fixing.
      */
 
-__initfunc(void s3triofb_init_of(struct device_node *dp))
+void __init s3triofb_init_of(struct device_node *dp)
 {
     int i, *pp, len;
     unsigned long address;

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