diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-10-09 10:35:16 -0400 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-27 16:08:26 +0200 |
commit | 3970fd88af4b0a67f92a30dc448ccd38fd468f4a (patch) | |
tree | e567485e664588a0bf71e27c6d39be284490ec32 | |
parent | 876d5a9d9b01bbca9712161df28976fc1db69d48 (diff) |
mmc: using module_param requires the inclusion of moduleparam.h
Commit "mmc: add module param to set fault injection attributes" adds
a module_param to this file. But it is relying on the old implicit
"module.h is everywhere" behaviour, and without the explicit include
of moduleparam.h, the pending module.h split up produces this error:
core/debugfs.c:28:35: error: expected ')' before numeric constant
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Change-Id: I79d51d3856b2283d167c1071dd49e4fc5aa4edcf
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33706
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
-rw-r--r-- | drivers/mmc/core/debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index da69aac4cc8..6045ea46936 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -7,6 +7,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#include <linux/moduleparam.h> #include <linux/debugfs.h> #include <linux/fs.h> #include <linux/seq_file.h> |