提交 885ed0fb 编写于 作者: G Geoff Levand 提交者: Paul Mackerras

[POWERPC] powerpc: fix build error in rom.c

Add missing include in rom.c.  Fixes this build error when CONFIG_MTD=y:

  arch/powerpc/sysdev/rom.c:26: error: implicit declaration of function
  of_platform_device_create
Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 be9575af
......@@ -9,6 +9,7 @@
#include <linux/kernel.h>
#include <asm/of_device.h>
#include <asm/of_platform.h>
static int __init powerpc_flash_init(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册