param: add null statement to compiled-in module params
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 5 Jan 2011 12:27:04 +0000 (13:27 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Jan 2011 04:02:52 +0000 (14:32 +1030)
commitb75be4204e7871869b2c268c00783703197aaa7d
tree6667a6d0ca0380bf8f64a499bfcee0db39bdc5a6
parent3b90a5b292321b2acac3921f77046ae195aef53f
param: add null statement to compiled-in module params

Add an unused struct declaration statement requiring a
terminating semicolon to the compile-in case to provoke an
error if __MODULE_INFO() is used without the terminating
semicolon. Previously MODULE_ALIAS("foo") (no semicolon)
compiled fine if MODULE was not selected.

Cc: Dan Carpenter <error27@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/moduleparam.h