arch/avr32/boards/mimc200/fram.c: add missing 'module.h' for MODULE_LICENSE
PATCH 1/1 arch/avr32/boards/mimc200/fram.c: add missing 'module.h' for MODULE_LICENSE
config: make ARCH=avr32 mimc200_defconfig
Quoted 6 lines
All error/warnings:
arch/avr32/boards/mimc200/fram.c:79: error: expected declaration specifiers or '...' before string constantarch/avr32/boards/mimc200/fram.c:79: warning: data definition has no type or storage classarch/avr32/boards/mimc200/fram.c:79: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'Quoted 1 line
Quoted 1 line
arch/avr32/boards/mimc200/fram.c:79: error: function declaration isn't a prototype
Untested.
--- arch/avr32/boards/mimc200/fram.c | 1 + 1 file changed, 1 insertion(+)
arch/avr32/boards/mimc200/fram.c +1 -0
@@ -13,6 +13,7 @@#include <linux/miscdevice.h> #include <linux/proc_fs.h> #include <linux/mm.h> +#include <linux/module.h> #include <linux/io.h> #define FRAM_BASE 0xac000000
Signature · 1 line
1.8.5.2
Quoted 10 lines · Sergei Trofimovich
config: make ARCH=avr32
mimc200_defconfigQuoted 6 lines
All error/warnings:
arch/avr32/boards/mimc200/fram.c:79: error: expected declaration specifiers or '...' before string constantarch/avr32/boards/mimc200/fram.c:79: warning: data definition has no type or storage classarch/avr32/boards/mimc200/fram.c:79: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'Quoted 1 line
Quoted 1 line
arch/avr32/boards/mimc200/fram.c:79: error: function declaration isn't a prototypeUntested.
Looks very sane.
Quoted 5 lines
Reported-by kbuild test robot <[email protected]>CC Mark Jackson <[email protected]>CC Hans-Christian Egtvedt <[email protected]>CC Haavard Skinnemoen <[email protected]>Signed-off-by Sergei Trofimovich <[email protected]>
Quoted 3 lines
--- arch/avr32/boards/mimc200/fram.c | 1 + 1 file changed, 1 insertion(+)
I will append this to the AVR32 tree at git.kernel.org.
Quoted 12 lines
arch/avr32/boards/mimc200/fram.c +1
-0@@ -13,6 +13,7 @@#include <linux/miscdevice.h> #include <linux/proc_fs.h> #include <linux/mm.h> +#include <linux/module.h> #include <linux/io.h> #define FRAM_BASE 0xac000000
Signature · 2 lines
mvh Hans-Christian Egtvedt