提交 0c0a3e5a 编写于 作者: B Benjamin Herrenschmidt

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: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 d34b661b
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <asm/opal.h> #include <asm/opal.h>
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/debug.h>
static int opal_lpc_chip_id = -1; static int opal_lpc_chip_id = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册