Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1666742

Re: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap
Date 2017-06-15 16:00 +0200
Message-ID <tSDtv-39X-5@gated-at.bofh.it> (permalink)
References <tQpuG-nf-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jun 09, 2017 at 12:29:12PM +0200, Arnd Bergmann wrote:
> The newly added support for the pcc mailbox fails to build
> in some configurations:
> 
> drivers/i2c/busses/i2c-xgene-slimpro.c: In function 'xgene_slimpro_i2c_probe':
> drivers/i2c/busses/i2c-xgene-slimpro.c:516:25: error: implicit declaration of function 'memremap'; did you mean 'memcmp'? [-Werror=implicit-function-declaration]
> drivers/i2c/busses/i2c-xgene-slimpro.c:518:13: error: 'MEMREMAP_WB' undeclared (first use in this function)
> drivers/i2c/busses/i2c-xgene-slimpro.c:518:13: note: each undeclared identifier is reported only once for each function it appears in
> 
> This includes the missing header file.
> 
> Fixes: df5da47fe722 ("i2c: xgene-slimpro: Add ACPI support by using PCC mailbox")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied to for-current, thanks!

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] i2c: xgene-slimpro: include linux/io.h for memremap Arnd Bergmann <arnd@arndb.de> - 2017-06-09 12:40 +0200
  Re: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap Hoan Tran <hotran@apm.com> - 2017-06-09 19:30 +0200
  Re: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap Wolfram Sang <wsa@the-dreams.de> - 2017-06-15 16:00 +0200
    Re: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap Wolfram Sang <wsa@the-dreams.de> - 2017-06-18 15:10 +0200

csiph-web