Re: [PATCH] videodev_init() -> initcall

2001-05-18 Thread Randy.Dunlap
Al's patch gives me: videodev.c:550: warning: static declaration for `videodev_init' follows non-static videodev.c: In function `videodev_exit': videodev.c:579: warning: implicit declaration of function `videodev_proc_destroy' Patch to use after Al's patch is attached. ~Randy Alexander Viro w

[PATCH] videodev_init() -> initcall

2001-05-18 Thread Alexander Viro
Alan, drivers/media/videodev.c is your code. See if you are OK with the patch below - it switches the thing to use of module_init() and removes the call of videodev_init() from chr_dev_init(). I.e. the only ordering change is that videodev_init() is postponed until immediately before the m