]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
staging: zcache: include module.h for MODULE_LICENSE
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Wed, 3 Aug 2011 14:00:40 +0000 (11:00 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 3 Aug 2011 14:25:49 +0000 (07:25 -0700)
The oncoming cleanup of module.h usage requires the explicit inclusion
of module.h when it was otherwise being included indirectly. Otherwise,
building zcache will fail.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zcache/zcache-main.c

index a58a03f66d73ad72f3a995f1cae010ca676d9c42..66469acce58e25e021af76d4328e8e812212c016 100644 (file)
@@ -19,6 +19,7 @@
  *   http://marc.info/?l=linux-mm&m=127811271605009
  */
 
+#include <linux/module.h>
 #include <linux/cpu.h>
 #include <linux/highmem.h>
 #include <linux/list.h>