param: add null statement to compiled-in module params
authorLinus Walleij <[email protected]>
Wed, 5 Jan 2011 12:27:04 +0000 (13:27 +0100)
committerRusty Russell <[email protected]>
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
include/linux/moduleparam.h