| commit | b75be4204e7871869b2c268c00783703197aaa7d | [log] [tgz] |
|---|---|---|
| author | Linus Walleij <linus.walleij@stericsson.com> | Wed Jan 05 13:27:04 2011 +0100 |
| committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Jan 24 14:32:52 2011 +1030 |
| tree | 6667a6d0ca0380bf8f64a499bfcee0db39bdc5a6 | |
| parent | 3b90a5b292321b2acac3921f77046ae195aef53f [diff] |
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>