linux-mips
[Top] [All Lists]

[PATCH] Make pcibios_setup weak

To: linux-mips@linux-mips.org
Subject: [PATCH] Make pcibios_setup weak
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 19 Apr 2008 00:37:33 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
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>
---
 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 7533e3f..0987144 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -330,7 +330,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>
  • [PATCH] Make pcibios_setup weak, Atsushi Nemoto <=