Commit 86de8154 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [uPD98402] Convert to new-style module.

parent 0fb3e5fb
...@@ -254,22 +254,13 @@ DPRINTK("phy_init\n"); ...@@ -254,22 +254,13 @@ DPRINTK("phy_init\n");
} }
#ifdef MODULE
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
EXPORT_SYMBOL(uPD98402_init); EXPORT_SYMBOL(uPD98402_init);
static __init int uPD98402_module_init(void)
int init_module(void)
{ {
MOD_INC_USE_COUNT;
return 0; return 0;
} }
module_init(uPD98402_module_init);
/* module_exit not defined so not unloadable */
void cleanup_module(void)
{
/* Nay */
}
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment