]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: fsl: qe: drop volatile qualifier of struct qe_ic::regs
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 28 Nov 2019 14:55:07 +0000 (15:55 +0100)
committerLi Yang <leoyang.li@nxp.com>
Mon, 9 Dec 2019 19:54:29 +0000 (13:54 -0600)
commitcf037a9b7af615f0543afae5daf2954a246ad321
tree46c3dd96ce6b679c0d35793ad22fa36012a895c1
parent1972194f9633386e3551eb7e44fc605141287721
soc: fsl: qe: drop volatile qualifier of struct qe_ic::regs

The actual io accessors (e.g. in_be32) implicitly add a volatile
qualifier to their address argument. Remove volatile from the struct
definition and the qe_ic_(read/write) helpers, in preparation for
switching from the ppc-specific io accessors to generic ones.

Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/qe_ic.c
drivers/soc/fsl/qe/qe_ic.h