Re: [PATCH v4 13/36] nds32: Device specific operations

2017-12-18 Thread Greentime Hu
2017-12-18 19:26 GMT+08:00 Arnd Bergmann : > On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: > >> +#define __ASM_NDS32_IO_H >> + >> +extern void iounmap(void __iomem *addr); > > The prototype here should probably include 'volatile' to avoid warnings in an >

Re: [PATCH v4 13/36] nds32: Device specific operations

2017-12-18 Thread Greentime Hu
2017-12-18 19:26 GMT+08:00 Arnd Bergmann : > On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: > >> +#define __ASM_NDS32_IO_H >> + >> +extern void iounmap(void __iomem *addr); > > The prototype here should probably include 'volatile' to avoid warnings in an > allmodconfig build. > Thanks. I

Re: [PATCH v4 13/36] nds32: Device specific operations

2017-12-18 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: > +#define __ASM_NDS32_IO_H > + > +extern void iounmap(void __iomem *addr); The prototype here should probably include 'volatile' to avoid warnings in an allmodconfig build. Arnd

Re: [PATCH v4 13/36] nds32: Device specific operations

2017-12-18 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: > +#define __ASM_NDS32_IO_H > + > +extern void iounmap(void __iomem *addr); The prototype here should probably include 'volatile' to avoid warnings in an allmodconfig build. Arnd

[PATCH v4 13/36] nds32: Device specific operations

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch introduces ioremap implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/io.h | 83 +++

[PATCH v4 13/36] nds32: Device specific operations

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch introduces ioremap implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/io.h | 83 +++ arch/nds32/mm/ioremap.c | 62 2 files changed,