module: fix missing semicolons in MODULE macro usage

You always needed them when you were a module, but the builtin versions
of the macros used to be more lenient.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2011-01-24 14:32:52 -06:00
parent b75be4204e
commit 577d6a7c3a
2 changed files with 2 additions and 2 deletions

View File

@ -1644,7 +1644,7 @@ ks8695_cleanup(void)
module_init(ks8695_init); module_init(ks8695_init);
module_exit(ks8695_cleanup); module_exit(ks8695_cleanup);
MODULE_AUTHOR("Simtec Electronics") MODULE_AUTHOR("Simtec Electronics");
MODULE_DESCRIPTION("Micrel KS8695 (Centaur) Ethernet driver"); MODULE_DESCRIPTION("Micrel KS8695 (Centaur) Ethernet driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:" MODULENAME); MODULE_ALIAS("platform:" MODULENAME);

View File

@ -428,7 +428,7 @@ static void __exit dsa_cleanup_module(void)
} }
module_exit(dsa_cleanup_module); module_exit(dsa_cleanup_module);
MODULE_AUTHOR("Lennert Buytenhek <buytenh@wantstofly.org>") MODULE_AUTHOR("Lennert Buytenhek <buytenh@wantstofly.org>");
MODULE_DESCRIPTION("Driver for Distributed Switch Architecture switch chips"); MODULE_DESCRIPTION("Driver for Distributed Switch Architecture switch chips");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:dsa"); MODULE_ALIAS("platform:dsa");