• Wolfram Sang's avatar
    i2c: rcar: fix section mismatch · 45fd5e4a
    Wolfram Sang authored
    Give the driver struct a name according to the 'standard' to fix:
    
    WARNING: vmlinux.o(.data+0x11798): Section mismatch in reference from the variable rcar_i2c_drv to the function .devinit.text:rcar_i2c_probe()
    ...
    WARNING: vmlinux.o(.data+0x1179c): Section mismatch in reference from the variable rcar_i2c_drv to the function .devexit.text:rcar_i2c_remove()
    Reported-by: default avatarSimon Horman <horms@verge.net.au>
    Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
    Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    45fd5e4a
i2c-rcar.c 15.4 KB