patch-2.4.5 linux/drivers/char/mem.c

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/machzwd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -29,9 +29,6 @@
 #ifdef CONFIG_I2C
 extern int i2c_init_all(void);
 #endif
-#ifdef CONFIG_VIDEO_DEV
-extern int videodev_init(void);
-#endif
 #ifdef CONFIG_FB
 extern void fbmem_init(void);
 #endif
@@ -648,8 +645,7 @@
 #if defined(CONFIG_ADB)
 	adbdev_init();
 #endif
-#ifdef CONFIG_VIDEO_DEV
-	videodev_init();
-#endif
 	return 0;
 }
+
+__initcall(chr_dev_init);

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