i2c: rcar: fix section mismatch
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 13 Nov 2012 10:24:15 +0000 (11:24 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Tue, 13 Nov 2012 10:24:15 +0000 (11:24 +0100)
commit45fd5e4ad2052101b4ceda5fdf4b003c428ebdfc
tree7c9c7747a823c3eab1fade198226528df816b8b5
parentb53f4baf8b26303fc75ef3b00cf5e7398b58efd4
i2c: rcar: fix section mismatch

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: Simon Horman <horms@verge.net.au>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
drivers/i2c/busses/i2c-rcar.c