]> git.baikalelectronics.ru Git - kernel.git/commit
MTD: MAPS: bcm963xx-flash.c: explicitly include module.h
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 6 Nov 2011 11:57:31 +0000 (12:57 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 8 Nov 2011 02:26:55 +0000 (21:26 -0500)
commit0965f3cbeb325b5f4a09bf0d618ef5396e3e4e8c
treead6298af387f345504eda5f2fa3c9e3274abe881
parent5c83bc36fbfc8fd80bc8d0dd817f296b1515fe47
MTD: MAPS: bcm963xx-flash.c: explicitly include module.h

module.h was previously implicitly included through mtd/mtd.h.

Fixes the following build failure after the module.h cleanup:

  CC      drivers/mtd/maps/bcm963xx-flash.o
drivers/mtd/maps/bcm963xx-flash.c: In function 'bcm963xx_probe':
drivers/mtd/maps/bcm963xx-flash.c:208:29: error: 'THIS_MODULE' undeclared (first use in this function)
 [...]
drivers/mtd/maps/bcm963xx-flash.c:276:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
drivers/mtd/maps/bcm963xx-flash.c:276:15: warning: function declaration isn't a prototype
make[7]: *** [drivers/mtd/maps/bcm963xx-flash.o] Error 1

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/mtd/maps/bcm963xx-flash.c