mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: linux-kernel@vger.kernel.org
Cc: Michal Simek <monstr@monstr.eu>,
	Grant Likely <grant.likely@secretlab.ca>
Subject: [PATCH] microblaze: Add missing header to prom.h
Date: Fri,  6 Aug 2010 11:55:22 +0200	[thread overview]
Message-ID: <1281088522-18310-1-git-send-email-monstr@monstr.eu> (raw)

of_serial and physmap_of require of_address_to_resource.

CC      drivers/serial/of_serial.o
drivers/serial/of_serial.c: In function 'of_platform_serial_setup':
drivers/serial/of_serial.c:47: error: implicit declaration of function 'of_address_to_resource'
make[5]: *** [drivers/serial/of_serial.o] Error 1

CC      drivers/mtd/maps/physmap_of.o
drivers/mtd/maps/physmap_of.c: In function 'of_flash_probe':
drivers/mtd/maps/physmap_of.c:268: error: implicit declaration of function 'of_address_to_resource'
make[6]: *** [drivers/mtd/maps/physmap_of.o] Error 1
make[5]: *** [drivers/mtd/maps] Error 2
make[4]: *** [drivers/mtd] Error 2
make[3]: *** [drivers] Error 2

Signed-off-by: Michal Simek <monstr@monstr.eu>
CC: Grant Likely <grant.likely@secretlab.ca>
---
 arch/microblaze/include/asm/prom.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h
index 101fa09..5012b22 100644
--- a/arch/microblaze/include/asm/prom.h
+++ b/arch/microblaze/include/asm/prom.h
@@ -22,6 +22,7 @@
 #include <linux/types.h>
 #include <asm/irq.h>
 #include <asm/atomic.h>
+#include <linux/of_address.h>
 
 #define HAVE_ARCH_DEVTREE_FIXUPS
 
-- 
1.5.5.6


                 reply	other threads:[~2010-08-06 10:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1281088522-18310-1-git-send-email-monstr@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®