All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geoff Levand <geoffrey.levand@am.sony.com>
To: Paul Mackerras <paulus@samba.org>
Cc: dwmw2@redhat.com, linuxppc-dev@ozlabs.org
Subject: [PATCH] powerpc: fix build error in rom.c
Date: Tue, 05 Dec 2006 15:30:17 -0800	[thread overview]
Message-ID: <45760109.8030200@am.sony.com> (raw)

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>

---
 arch/powerpc/sysdev/rom.c |    1 +
 1 files changed, 1 insertion(+)

--- linux-2.6.19.ppc64.orig/arch/powerpc/sysdev/rom.c
+++ linux-2.6.19.ppc64/arch/powerpc/sysdev/rom.c
@@ -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)
 {

             reply	other threads:[~2006-12-05 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 23:30 Geoff Levand [this message]
2006-12-06 12:21 ` [PATCH] powerpc: fix build error in rom.c Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45760109.8030200@am.sony.com \
    --to=geoffrey.levand@am.sony.com \
    --cc=dwmw2@redhat.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.