• Jingoo Han's avatar
    vme: vme_vmivme7805.c: add missing __iomem annotation · a84a3222
    Jingoo Han authored
    Added missing __iomem annotation in order to fix the following
    sparse warnings:
    
    drivers/vme/boards/vme_vmivme7805.c:62:19: warning: incorrect type in assignment (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:62:19:    expected void *static [toplevel] vmic_base
    drivers/vme/boards/vme_vmivme7805.c:62:19:    got void [noderef] <asn:2>*
    drivers/vme/boards/vme_vmivme7805.c:70:9: warning: incorrect type in argument 2 (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:70:9:    expected void volatile [noderef] <asn:2>*addr
    drivers/vme/boards/vme_vmivme7805.c:70:9:    got void *
    drivers/vme/boards/vme_vmivme7805.c:73:16: warning: incorrect type in argument 1 (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:73:16:    expected void const volatile [noderef] <asn:2>*addr
    drivers/vme/boards/vme_vmivme7805.c:73:16:    got void *
    drivers/vme/boards/vme_vmivme7805.c:75:9: warning: incorrect type in argument 2 (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:75:9:    expected void volatile [noderef] <asn:2>*addr
    drivers/vme/boards/vme_vmivme7805.c:75:9:    got void *
    drivers/vme/boards/vme_vmivme7805.c:78:16: warning: incorrect type in argument 1 (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:78:16:    expected void const volatile [noderef] <asn:2>*addr
    drivers/vme/boards/vme_vmivme7805.c:78:16:    got void *
    drivers/vme/boards/vme_vmivme7805.c:85:9: warning: incorrect type in argument 2 (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:85:9:    expected void volatile [noderef] <asn:2>*addr
    drivers/vme/boards/vme_vmivme7805.c:85:9:    got void *
    drivers/vme/boards/vme_vmivme7805.c:99:17: warning: incorrect type in argument 1 (different address spaces)
    drivers/vme/boards/vme_vmivme7805.c:99:17:    expected void volatile [noderef] <asn:2>*addr
    drivers/vme/boards/vme_vmivme7805.c:99:17:    got void *static [toplevel] vmic_base
    Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    a84a3222
vme_vmivme7805.c 2.66 KB