]> Git Repo - linux.git/commitdiff
regmap: using module facilities requires module.h
authorStephen Rothwell <[email protected]>
Mon, 15 Aug 2011 23:36:06 +0000 (09:36 +1000)
committerLinus Torvalds <[email protected]>
Tue, 16 Aug 2011 02:28:17 +0000 (19:28 -0700)
Commit b33f9cbd67ba ("regmap: Specify a module license") added a
MODULES_LICENSE to this file without adding an include of module.h.

module.h should have been included anyway, since this file has
EXPORT_SYMBOLs as well.  With the pending module.h split up, this would
probably have caused build problems.

Cc: Stephen Warren <[email protected]>
Cc: Mark Brown <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/base/regmap/regmap-spi.c

index 2bbc65999a5f80b6ea70f2590be6a7cd5e9cd8cf..f8396945d6ed6339741ab0bd6db8dca9a985a587 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/regmap.h>
 #include <linux/spi/spi.h>
 #include <linux/init.h>
+#include <linux/module.h>
 
 static int regmap_spi_write(struct device *dev, const void *data, size_t count)
 {
This page took 0.06327 seconds and 4 git commands to generate.