]>
Commit | Line | Data |
---|---|---|
1 | From 5745d6a41a4f4aec29e2ccd591c6fb09ed73a955 Mon Sep 17 00:00:00 2001 | |
2 | From: Paul Gortmaker <paul.gortmaker@windriver.com> | |
3 | Date: Fri, 10 Jan 2014 09:29:39 -0500 | |
4 | Subject: avr32: fix missing module.h causing build failure in mimc200/fram.c | |
5 | ||
6 | From: Paul Gortmaker <paul.gortmaker@windriver.com> | |
7 | ||
8 | commit 5745d6a41a4f4aec29e2ccd591c6fb09ed73a955 upstream. | |
9 | ||
10 | Causing this: | |
11 | ||
12 | In file included from arch/avr32/boards/mimc200/fram.c:13: | |
13 | include/linux/miscdevice.h:51: error: field 'list' has incomplete type | |
14 | include/linux/miscdevice.h:55: error: expected specifier-qualifier-list before 'mode_t' | |
15 | arch/avr32/boards/mimc200/fram.c:42: error: 'THIS_MODULE' undeclared here (not in a function) | |
16 | ||
17 | Reported-by: Fengguang Wu <fengguang.wu@intel.com> | |
18 | Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> | |
19 | Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> | |
20 | Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> | |
21 | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | |
22 | Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> | |
23 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
24 | ||
25 | --- | |
26 | arch/avr32/boards/mimc200/fram.c | 1 + | |
27 | 1 file changed, 1 insertion(+) | |
28 | ||
29 | --- a/arch/avr32/boards/mimc200/fram.c | |
30 | +++ b/arch/avr32/boards/mimc200/fram.c | |
31 | @@ -11,6 +11,7 @@ | |
32 | #define FRAM_VERSION "1.0" | |
33 | ||
34 | #include <linux/miscdevice.h> | |
35 | +#include <linux/module.h> | |
36 | #include <linux/proc_fs.h> | |
37 | #include <linux/mm.h> | |
38 | #include <linux/io.h> |