Skip to content

Commit

Permalink
[POWERPC] powerpc: fix build error in rom.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Dec 8, 2006
1 parent be9575a commit 885ed0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/sysdev/rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 885ed0f

Please sign in to comment.