linux-mips
[Top] [All Lists]

Re: [PATCH] Make pcibios_setup weak

To: linux-mips@linux-mips.org
Subject: Re: [PATCH] Make pcibios_setup weak
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 08 Jul 2008 01:14:47 +0900 (JST)
Cc: ralf@linux-mips.org
In-reply-to: <20080419.003733.48796522.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080419.003733.48796522.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
Make pcibios_setup weak so that platform code can overwrite it.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
Revised against current linux-queue tree.

 arch/mips/pci/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index a3dcfd4..b8f382e 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -329,7 +329,7 @@ EXPORT_SYMBOL(PCIBIOS_MIN_IO);
 EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
 #endif
 
-char *pcibios_setup(char *str)
+char *__weak pcibios_setup(char *str)
 {
        return str;
 }

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] Make pcibios_setup weak, Atsushi Nemoto <=