linux-mips
[Top] [All Lists]

Re: [PATCH] mips: bcm63xx: fix compilation problems

To: Artem Bityutskiy <dedekind1@gmail.com>
Subject: Re: [PATCH] mips: bcm63xx: fix compilation problems
From: Jonas Gorski <jonas.gorski@gmail.com>
Date: Tue, 8 May 2012 14:48:41 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>, MIPS Mailing List <linux-mips@linux-mips.org>, Linux Kernel Maling List <linux-kernel@vger.kernel.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=JBdnFaMOQXJTYZuafggE4pGVx1jyN+LE2CLLCXVebIg=; b=hXP3KDMUecgiAZtWd5mefYFnq/P5Pbzfy9oicFfBaW5nAEc3gR/cVOTwlNHcIbow/3 Lo1Y9wsz1iMgQPMDQZXKh/3S5RrNBRyQIAyH1kBz76xvk3Qo9CH9ezDyQ0f1RHOipjRB U4rHfYzFpoChKk7qSH1WacEO7SwEL9tDbnZR50ywjMMkOtPbmZGVQUj0lJECXLBIBLFx d/po5Ed5IDtkTPq6CYUWtOw0D1L8aSvOuCezdQfjsKuZCr2t6O17Poak46214VDj2eAX FpMMb65ZGYS9f/sMzoH/sllg8v3C39TJaldDOwFrUWeuXkuSw6vianpngzXJkSGvKvDG Gv2Q==
In-reply-to: <1336472347-25822-1-git-send-email-dedekind1@gmail.com>
References: <1336472347-25822-1-git-send-email-dedekind1@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hi Artem,

On 8 May 2012 12:19, Artem Bityutskiy <dedekind1@gmail.com> wrote:
> From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>
> I get the following build error when I am compiling the MTD gpio-nand driver
> for bcm63xx:
>
> In file included from arch/mips/include/asm/mach-bcm63xx/gpio.h:4:0,
>                 from arch/mips/include/asm/gpio.h:4,
>                 from include/linux/gpio.h:36,
>                 from drivers/mtd/maps/gpio-addr-flash.c:16:
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h: In function 
> 'bcm63xx_gpio_count':
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:10:2: error: implicit 
> declaration of function 'bcm63xx_get_cpu_id' 
> [-Werror=implicit-function-declaration]
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:11:7: error: 
> 'BCM6358_CPU_ID' undeclared (first use in this function)
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:11:7: note: each undeclared 
> identifier is reported only once for each function it appears in
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:13:7: error: 
> 'BCM6338_CPU_ID' undeclared (first use in this function)
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:15:7: error: 
> 'BCM6345_CPU_ID' undeclared (first use in this function)
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:17:7: error: 
> 'BCM6368_CPU_ID' undeclared (first use in this function)
> arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h:19:7: error: 
> 'BCM6348_CPU_ID' undeclared (first use in this function)
>
> (snip)

I already submitted almost the same patch ~3 months ago:
http://patchwork.linux-mips.org/patch/3351/

> This patch sloves the problem.

"sloves"? ;p


Jonas

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