Skip to content

Commit

Permalink
mfd: include linux/module.h for ab5500-debugfs
Browse files Browse the repository at this point in the history
Include linux/module.h to fix below build error:

  CC      drivers/mfd/ab5500-debugfs.o
drivers/mfd/ab5500-debugfs.c:571: error: 'THIS_MODULE' undeclared here (not in a function)
make[2]: *** [drivers/mfd/ab5500-debugfs.o] Error 1

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Dec 20, 2011
1 parent b5488b6 commit 858a630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/ab5500-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Debugfs support for the AB5500 MFD driver
*/

#include <linux/export.h>
#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/mfd/ab5500/ab5500.h>
Expand Down

0 comments on commit 858a630

Please sign in to comment.