[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150415155752.GC914@katana>
Date: Wed, 15 Apr 2015 17:57:52 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Guenter Roeck <linux@...ck-us.net>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
Subject: Re: [PATCH v2] i2c: jz4780: Fix build for m68k and sparc64
On Wed, Apr 15, 2015 at 08:48:47AM -0700, Guenter Roeck wrote:
> Fix:
>
> drivers/i2c/busses/i2c-jz4780.c: In function 'jz4780_i2c_readw':
> drivers/i2c/busses/i2c-jz4780.c:181:2: error:
> implicit declaration of function 'readw'
> drivers/i2c/busses/i2c-jz4780.c: In function 'jz4780_i2c_writew':
> drivers/i2c/busses/i2c-jz4780.c:187:2: error:
> implicit declaration of function 'writew'
>
> seen with sparc64:allmodconfig and m68k:allmodconfig.
>
> The driver has to include linux/io.h.
>
> Fixes: ba92222ed63a ("i2c: jz4780: Add i2c bus controller driver
> for Ingenic JZ4780")
> Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists