Re: [PATCH] drivers/misc: Aspeed LPC control fix compile error and warning

2017-03-22 Thread Greg KH
On Wed, Mar 22, 2017 at 02:13:28PM +1100, Cyril Bur wrote: > pgprot_dmachoerent() is not defined on every architecture. Having > COMPILE_TEST set for the driver causes it to be compiled on > architectures which do not have pgprot_dmachoerent(): > drivers/misc/aspeed-lpc-ctrl.c: In function

Re: [PATCH] drivers/misc: Aspeed LPC control fix compile error and warning

2017-03-22 Thread Greg KH
On Wed, Mar 22, 2017 at 02:13:28PM +1100, Cyril Bur wrote: > pgprot_dmachoerent() is not defined on every architecture. Having > COMPILE_TEST set for the driver causes it to be compiled on > architectures which do not have pgprot_dmachoerent(): > drivers/misc/aspeed-lpc-ctrl.c: In function

Re: [PATCH] drivers/misc: Aspeed LPC control fix compile error and warning

2017-03-22 Thread Greg KH
On Wed, Mar 22, 2017 at 02:13:28PM +1100, Cyril Bur wrote: > pgprot_dmachoerent() is not defined on every architecture. Having > COMPILE_TEST set for the driver causes it to be compiled on > architectures which do not have pgprot_dmachoerent(): > drivers/misc/aspeed-lpc-ctrl.c: In function

Re: [PATCH] drivers/misc: Aspeed LPC control fix compile error and warning

2017-03-22 Thread Greg KH
On Wed, Mar 22, 2017 at 02:13:28PM +1100, Cyril Bur wrote: > pgprot_dmachoerent() is not defined on every architecture. Having > COMPILE_TEST set for the driver causes it to be compiled on > architectures which do not have pgprot_dmachoerent(): > drivers/misc/aspeed-lpc-ctrl.c: In function

[PATCH] drivers/misc: Aspeed LPC control fix compile error and warning

2017-03-21 Thread Cyril Bur
pgprot_dmachoerent() is not defined on every architecture. Having COMPILE_TEST set for the driver causes it to be compiled on architectures which do not have pgprot_dmachoerent(): drivers/misc/aspeed-lpc-ctrl.c: In function 'aspeed_lpc_ctrl_mmap': drivers/misc/aspeed-lpc-ctrl.c:51:9:

[PATCH] drivers/misc: Aspeed LPC control fix compile error and warning

2017-03-21 Thread Cyril Bur
pgprot_dmachoerent() is not defined on every architecture. Having COMPILE_TEST set for the driver causes it to be compiled on architectures which do not have pgprot_dmachoerent(): drivers/misc/aspeed-lpc-ctrl.c: In function 'aspeed_lpc_ctrl_mmap': drivers/misc/aspeed-lpc-ctrl.c:51:9: