[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMk6uBmAsmEnix-OnpHyxhPpxPhxHAVkW1MD1daiiX+QpBLH6Q@mail.gmail.com>
Date: Wed, 6 May 2015 17:15:49 +0800
From: Steven Miao <realmz6@...il.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: "open list:CAN NETWORK DRIVERS <linux-can@...r.kernel.org>, open
list:NETWORKING DRIVERS <netdev@...r.kernel.org>, open list"
<linux-kernel@...r.kernel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
bfin <adi-buildroot-devel@...ts.sourceforge.net>
Subject: Re: [PATCH resend 5/5] blackfin: Fix build error
Applied. Thanks!
On Tue, May 5, 2015 at 6:30 AM, Guenter Roeck <linux@...ck-us.net> wrote:
> Fix
>
> include/asm-generic/io.h: In function 'readb':
> include/asm-generic/io.h:113:2: error:
> implicit declaration of function 'bfin_read8'
> include/asm-generic/io.h: In function 'readw':
> include/asm-generic/io.h:121:2: error:
> implicit declaration of function 'bfin_read16'
> include/asm-generic/io.h: In function 'readl':
> include/asm-generic/io.h:129:2: error:
> implicit declaration of function 'bfin_read32'
> include/asm-generic/io.h: In function 'writeb':
> include/asm-generic/io.h:147:2: error:
> implicit declaration of function 'bfin_write8'
> include/asm-generic/io.h: In function 'writew':
> include/asm-generic/io.h:155:2: error:
> implicit declaration of function 'bfin_write16'
> include/asm-generic/io.h: In function 'writel':
> include/asm-generic/io.h:163:2: error:
> implicit declaration of function 'bfin_write32'
>
> Reported-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Fixes: 1a3372bc522ef ("blackfin: io: define __raw_readx/writex with
> bfin_readx/writex")
> Cc: Steven Miao <realmz6@...il.com>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
> Please consider pushing this patch into mainline, or provide feedback
> on how to improve it to be acceptable.
>
> arch/blackfin/include/asm/io.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h
> index 4e8ad0523118..6abebe82d4e9 100644
> --- a/arch/blackfin/include/asm/io.h
> +++ b/arch/blackfin/include/asm/io.h
> @@ -10,6 +10,7 @@
> #include <linux/compiler.h>
> #include <linux/types.h>
> #include <asm/byteorder.h>
> +#include <asm/def_LPBlackfin.h>
>
> #define __raw_readb bfin_read8
> #define __raw_readw bfin_read16
> --
> 2.1.0
>
--
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