--- uctrl.c.0 Tue Oct 5 10:54:48 1999 +++ uctrl.c Tue Oct 5 10:58:51 1999 @@ -89,11 +89,7 @@ &uctrl_fops }; -#ifdef MODULE -int init_module(void) -#else -__initfunc(int uctrl_init(void)) -#endif +static int __init uctrl_init(void)) { struct uctrl_driver *driver = &drv; int len; @@ -139,8 +135,7 @@ } -#ifdef MODULE -void cleanup_module(void) +static void __exit uctrl_exit(void) { struct uctrl_driver *driver = &drv; @@ -152,4 +147,6 @@ if (driver->regs) driver->regs = 0; } -#endif + +module_init(uctrl_init); +module_exit(uctrl_exit);