Re: [PATCH] firmware: dcdbas: include linux/io.h

2018-10-03 Thread Andy Shevchenko
On Wed, Oct 3, 2018 at 12:17 AM Arnd Bergmann wrote: > > memremap() is declared in linux/io.h, not in asm/io.h, so we should > include that header to avoid build errors: > > drivers/platform/x86/dcdbas.c: In function 'dcdbas_check_wsmt': > drivers/platform/x86/dcdbas.c:572:15: error: implicit decl

[PATCH] firmware: dcdbas: include linux/io.h

2018-10-02 Thread Arnd Bergmann
memremap() is declared in linux/io.h, not in asm/io.h, so we should include that header to avoid build errors: drivers/platform/x86/dcdbas.c: In function 'dcdbas_check_wsmt': drivers/platform/x86/dcdbas.c:572:15: error: implicit declaration of function 'memremap'; did you mean 'ioremap'? [-Werror