linux-mips
[Top] [All Lists]

[loongson-support 01/27] fix-warning: incompatible argument type of pci_

To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: [loongson-support 01/27] fix-warning: incompatible argument type of pci_fixup_irqs
From: wuzhangjin@gmail.com
Date: Thu, 21 May 2009 05:23:21 +0800
Cc: Wu Zhangjin <wuzhangjin@gmail.com>, Yan hua <yanh@lemote.com>, Philippe Vachon <philippe@cowpig.ca>, Zhang Le <r0bertz@gentoo.org>, Zhang Fuxin <zhangfx@lemote.com>, Arnaud Patard <apatard@mandriva.com>, loongson-dev@googlegroups.com, gnewsense-dev@nongnu.org, Nicholas Mc Guire <hofrat@hofr.at>, Liu Junliang <liujl@lemote.com>, Erwan Lerale <erwan@thiscow.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=BDTR8mISzvIn9A/+zEzJ6vZRqqGhZ5s9LR2M80A9rls=; b=G5ofbaFE4V3Bg7TDbUh7sYpjLHfJoMB8UukUjL4uCtEm888wDL3LFsm+bCT+1mUFxT 3xkyoeDBQdhncPc9frTJMcmFVEoY7DJjq7S+XfaBSPcHQ9ZYy6E9On8orPvjPKZkMqdK l9g/rJMHK2OL/fiDsrw5+rVO5uoZz1wuqYlSI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; b=o/PWbs4PBrJ+Sv7qSFUXXG+OI1bOtm9N97O/2m5kTGR1GxBeIyHU9KDGodoIyqFlAR gDTVXnQnu9XKQa2iYM3I8XTy0y75ayByw7mvGbKokbNOGtEF1MJgzr5eXI0jJfbzWS4M pgGTPqVQQOWYIWX7eHpZ7IpyUK/3KrQG+YrYI=
In-reply-to: <cover.1242851584.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1242851584.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

arch/mips/pci/pci.c:160: warning: passing argument 2 of ‘pci_fixup_irqs’
from incompatible pointer type

include/linux/pci.h:

        void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *),
            int (*)(struct pci_dev *, u8, u8));

arch/mips/pci/pci.c:160:

        pci_fixup_irqs(pci_common_swizzle, pcibios_map_irq);

arch/mips/include/asm/pci.h:

        extern int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);

arch/mips/pci/fixup-malta.c

        int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>

-- 
1.6.2.1


<Prev in Thread] Current Thread [Next in Thread>