lkml.org 
[lkml]   [2015]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@imgtec.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Applied to for-next, thanks!

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-04-15 18:41    [W:0.031 / U:2.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site