diff options
author | Jeremy Kerr <jeremy.kerr@canonical.com> | 2010-02-14 09:13:41 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-14 09:13:41 -0500 |
commit | 7c540d9e3da38c3d1c15fb8059e4577a84ac0066 (patch) | |
tree | 5cbddd96076c4655154c72e73f852e81af2506f3 /fs | |
parent | 21b082ecdd7e6b8a5eba2cc013cae41b24de7f51 (diff) |
proc_devtree: fix THIS_MODULE without module.h
Commit e22f628395432b967f2f505858c64450f7835365 introduced a build
breakage for ARM devtree work: the THIS_MODULE macro was added, but we
don't have module.h
This change adds the necessary #include to get THIS_MODULE defined.
While we could just replace it with NULL (PROC_FS is a bool, not a
tristate), using THIS_MODULE will prevent unexpected breakage if we
ever do compile this as a module.
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/proc_devtree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index 0ec45110e15e..f8650dce74fb 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/stat.h> | 11 | #include <linux/stat.h> |
12 | #include <linux/string.h> | 12 | #include <linux/string.h> |
13 | #include <linux/of.h> | 13 | #include <linux/of.h> |
14 | #include <linux/module.h> | ||
14 | #include <asm/prom.h> | 15 | #include <asm/prom.h> |
15 | #include <asm/uaccess.h> | 16 | #include <asm/uaccess.h> |
16 | #include "internal.h" | 17 | #include "internal.h" |