X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Firda%2Firmod.c;h=6ffaed4544e963bbd010b515977b3d2586cc5cf8;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a81e0af1851f0ae0d808cfc16bcf75b4d7def089;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/irda/irmod.c b/net/irda/irmod.c index a81e0af18..6ffaed454 100644 --- a/net/irda/irmod.c +++ b/net/irda/irmod.c @@ -62,7 +62,7 @@ extern int irlap_driver_rcv(struct sk_buff *, struct net_device *, #ifdef CONFIG_IRDA_DEBUG unsigned int irda_debug = IRDA_DEBUG_LEVEL; module_param_named(debug, irda_debug, uint, 0); -MODULE_PARM_DESC(irda_debug, "IRDA debugging level"); +MODULE_PARM_DESC(debug, "IRDA debugging level"); EXPORT_SYMBOL(irda_debug); #endif @@ -100,7 +100,7 @@ EXPORT_SYMBOL(irda_notify_init); * Protocol stack initialisation entry point. * Initialise the various components of the IrDA stack */ -int __init irda_init(void) +static int __init irda_init(void) { IRDA_DEBUG(0, "%s()\n", __FUNCTION__); @@ -136,7 +136,7 @@ int __init irda_init(void) * Protocol stack cleanup/removal entry point. * Cleanup the various components of the IrDA stack */ -void __exit irda_cleanup(void) +static void __exit irda_cleanup(void) { /* Remove External APIs */ #ifdef CONFIG_SYSCTL