[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: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
be9575af7e
commit
885ed0fb48
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <asm/of_device.h>
|
#include <asm/of_device.h>
|
||||||
|
#include <asm/of_platform.h>
|
||||||
|
|
||||||
static int __init powerpc_flash_init(void)
|
static int __init powerpc_flash_init(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user