[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dda83e780707181002t8cb734ep5d5e42ebde5d617a@mail.gmail.com>
Date: Wed, 18 Jul 2007 10:02:06 -0700
From: "Bret Towe" <magnade@...il.com>
To: "Tony Breeds" <tony@...eyournoodle.com>
Cc: "Linus Torvalds" <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Re: 2.6.22-git ppc build failure
On 7/17/07, Tony Breeds <tony@...eyournoodle.com> wrote:
> On Tue, Jul 17, 2007 at 11:04:57AM -0700, Bret Towe wrote:
> > this is off my g4 mac mini
> > latest git as of when this email was sent
> > config file attached
>
> Hi Bret,
> the patch below will fix it.
yeap it compiled and boots fine
thanks
> From: Tony Breeds <tony@...eyournoodle.com>
>
> Fix compile failure in arch/powerpc/kernel/pci-common.c
>
> CC arch/powerpc/kernel/pci-common.o
> arch/powerpc/kernel/pci-common.c:160: error: conflicting types for 'pcibios_add_platform_entries'
> include/linux/pci.h:889: error: previous declaration of 'pcibios_add_platform_entries' was here
>
> Fallout from the powerpc merge (489de30259e667d7bc47da9da44a0270b050cd97).
>
> Signed-off-by: Tony Breeds <tony@...eyournoodle.com>
>
> ---
> arch/powerpc/kernel/pci-common.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> Index: working/arch/powerpc/kernel/pci-common.c
> ===================================================================
> --- working.orig/arch/powerpc/kernel/pci-common.c 2007-07-18 10:34:55.000000000 +1000
> +++ working/arch/powerpc/kernel/pci-common.c 2007-07-18 10:39:19.000000000 +1000
> @@ -156,11 +156,14 @@ static DEVICE_ATTR(devspec, S_IRUGO, pci
> #endif /* CONFIG_PPC_OF */
>
> /* Add sysfs properties */
> -void pcibios_add_platform_entries(struct pci_dev *pdev)
> +int pcibios_add_platform_entries(struct pci_dev *pdev)
> {
> #ifdef CONFIG_PPC_OF
> - device_create_file(&pdev->dev, &dev_attr_devspec);
> + return device_create_file(&pdev->dev, &dev_attr_devspec);
> +#else
> + return 0;
> #endif /* CONFIG_PPC_OF */
> +
> }
>
> char __init *pcibios_setup(char *str)
>
> Yours Tony
>
> linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
> Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists