• Li Yang's avatar
    soc: fsl: qe: fix sparse warnings for ucc.c · de66e4d8
    Li Yang authored
    Fixes the following sparse warnings:
    
    drivers/soc/fsl/qe/ucc.c:637:20: warning: incorrect type in assignment (different address spaces)
    drivers/soc/fsl/qe/ucc.c:637:20:    expected struct qe_mux *qe_mux_reg
    drivers/soc/fsl/qe/ucc.c:637:20:    got struct qe_mux [noderef] <asn:2> *
    drivers/soc/fsl/qe/ucc.c:652:9: warning: incorrect type in argument 1 (different address spaces)
    drivers/soc/fsl/qe/ucc.c:652:9:    expected void const volatile [noderef] <asn:2> *addr
    drivers/soc/fsl/qe/ucc.c:652:9:    got restricted __be32 *
    drivers/soc/fsl/qe/ucc.c:652:9: warning: incorrect type in argument 2 (different address spaces)
    drivers/soc/fsl/qe/ucc.c:652:9:    expected void volatile [noderef] <asn:2> *addr
    drivers/soc/fsl/qe/ucc.c:652:9:    got restricted __be32 *
    Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
    Reviewed-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
    de66e4d8
ucc.c 12 KB