diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-11-06 17:16:51 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-08 06:45:14 +0400 |
commit | 8f7346bdea64f2e3d02b0bcaf456e391c4cba134 (patch) | |
tree | 811119f8c49358d316440f5ff67ae5d18c01a26c | |
parent | 4e549d6d4a32d1a610ad081841d575f64087744a (diff) | |
download | linux-8f7346bdea64f2e3d02b0bcaf456e391c4cba134.tar.xz |
hwspinlock/u8500: include linux/module.h
Include module.h to fix below build error:
CC drivers/hwspinlock/u8500_hsem.o
drivers/hwspinlock/u8500_hsem.c:177: error: 'THIS_MODULE' undeclared here (not in a function)
[...]
drivers/hwspinlock/u8500_hsem.c:196: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
drivers/hwspinlock/u8500_hsem.c:196: warning: function declaration isn't a prototype
make[2]: *** [drivers/hwspinlock/u8500_hsem.o] Error 1
make[1]: *** [drivers/hwspinlock] Error 2
make: *** [drivers] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | drivers/hwspinlock/u8500_hsem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index 143461a95ae4..0156af510032 100644 --- a/drivers/hwspinlock/u8500_hsem.c +++ b/drivers/hwspinlock/u8500_hsem.c @@ -21,6 +21,7 @@ * General Public License for more details. */ +#include <linux/module.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/pm_runtime.h> |