From 86de815494dafb3d57400ed61982c582f978297b Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Sun, 21 Sep 2003 04:22:11 -0700 Subject: [PATCH] [ATM]: [uPD98402] Convert to new-style module. --- drivers/atm/uPD98402.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/atm/uPD98402.c b/drivers/atm/uPD98402.c index d85b77b57c081..4fc9befdb1a07 100644 --- a/drivers/atm/uPD98402.c +++ b/drivers/atm/uPD98402.c @@ -254,22 +254,13 @@ DPRINTK("phy_init\n"); } -#ifdef MODULE MODULE_LICENSE("GPL"); EXPORT_SYMBOL(uPD98402_init); - -int init_module(void) +static __init int uPD98402_module_init(void) { - MOD_INC_USE_COUNT; return 0; } - - -void cleanup_module(void) -{ - /* Nay */ -} - -#endif +module_init(uPD98402_module_init); +/* module_exit not defined so not unloadable */ -- 2.53.0