diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-06 17:02:14 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-06 18:57:21 -0400 |
commit | 0c0a3e5a100bbc4aaedd140e82b429227a76701b (patch) | |
tree | 32271f2a6033deeaf172693cd349bf93d216277d | |
parent | d34b661b10ab49c9058cd6602fd0162ba6db40a3 (diff) |
powerpc/powernv: Add missing include to LPC code
kbuild bot spotted that one:
arch/powerpc/platforms/powernv/opal-lpc.c: In function 'opal_lpc_init_debugfs':
>> arch/powerpc/platforms/powernv/opal-lpc.c:319:35: error: 'powerpc_debugfs_root' undeclared (first use in this function)
root = debugfs_create_dir("lpc", powerpc_debugfs_root);
^
We neet to include the definition explicitely.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/platforms/powernv/opal-lpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-lpc.c b/arch/powerpc/platforms/powernv/opal-lpc.c index 70eff22aef73..f04b4d8aca5a 100644 --- a/arch/powerpc/platforms/powernv/opal-lpc.c +++ b/arch/powerpc/platforms/powernv/opal-lpc.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <asm/opal.h> | 22 | #include <asm/opal.h> |
23 | #include <asm/prom.h> | 23 | #include <asm/prom.h> |
24 | #include <asm/uaccess.h> | 24 | #include <asm/uaccess.h> |
25 | #include <asm/debug.h> | ||
25 | 26 | ||
26 | static int opal_lpc_chip_id = -1; | 27 | static int opal_lpc_chip_id = -1; |
27 | 28 | ||