OSDN Git Service

media: fsl-viu: fix __iomem annotations
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 6 Apr 2018 14:04:47 +0000 (10:04 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 17 Apr 2018 09:31:54 +0000 (05:31 -0400)
commit27e4b6cfc970369173ed4bbaf3e3e26789fcdbf8
tree8139b9dd2388d48c1fe51e2f164a6ba0918f585b
parent2d78a19c8c6c6d3985631c4e4a443874d1bd2da1
media: fsl-viu: fix __iomem annotations

Those annotations are wrong, causing this warning:

    drivers/media/platform/fsl-viu.c:1440:21: warning: incorrect type in assignment (different address spaces)
    drivers/media/platform/fsl-viu.c:1440:21:    expected struct viu_reg *vr
    drivers/media/platform/fsl-viu.c:1440:21:    got struct viu_reg [noderef] <asn:2>*[assigned] viu_regs

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/fsl-viu.c