]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/powernv: Add missing include to LPC code
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 6 Jun 2014 21:02:14 +0000 (07:02 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 6 Jun 2014 22:57:21 +0000 (08:57 +1000)
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>
arch/powerpc/platforms/powernv/opal-lpc.c

index 70eff22aef737c9382d720174142ac787f03b759..f04b4d8aca5a998edd95d39e63889a1c0ecf1587 100644 (file)
@@ -22,6 +22,7 @@
 #include <asm/opal.h>
 #include <asm/prom.h>
 #include <asm/uaccess.h>
+#include <asm/debug.h>
 
 static int opal_lpc_chip_id = -1;