Messages in this thread | | | Date | Mon, 10 Jul 2017 14:28:09 +0200 | From | Alexandre Belloni <> | Subject | Re: [PATCH] nvmem: include linux/err.h from header |
| |
On 10/07/2017 at 13:22:50 +0200, Arnd Bergmann wrote: > The new support for nvmem devices from the rtc layer caused a build > error in some configurations: > > include/linux/nvmem-provider.h: In function 'nvmem_register': > include/linux/nvmem-provider.h:51:9: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration] > > This adds the missing include to ensure we can always include > the header. > > Fixes: 697e5a47aa12 ("rtc: add generic nvmem support") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > I'd suggest adding this patch in the rtc tree on top of the > nvmem support there. > --- > include/linux/nvmem-provider.h | 3 +++ > 1 file changed, 3 insertions(+) > Applied, thanks.
-- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
| |