On Wed, Apr 15, 2015 at 07:08:11PM +0100, Mark Brown wrote:
> This driver uses readw() and writew() which are declared in asm/io.h but
> does not explicitly include that header, causing build failures on
> architectures where there is not an implicit inclusion such as arm and
> arm64:
> 
> ../drivers/i2c/busses/i2c-jz4780.c:181:2: error: implicit declaration of 
> function 'readw' [-Werror=implicit-function-declaration]
> ../drivers/i2c/busses/i2c-jz4780.c:187:2: error: implicit declaration of 
> function 'writew' [-Werror=implicit-function-declaration]
> 
> Add an explicit inclusion to fix this.
> 
> Signed-off-by: Mark Brown <[email protected]>

Thanks, I just pushed the same fix from Guenter Roeck to -next.

Attachment: signature.asc
Description: Digital signature

Reply via email to