spi/gpio: fix section mismatch warning
authorManuel Lauss <manuel.lauss@googlemail.com>
Sat, 19 Nov 2011 12:08:10 +0000 (13:08 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 7 Dec 2011 21:17:39 +0000 (22:17 +0100)
commitc65b53ba4f9ca4520078bab23099579da3bf0446
tree9911097da6766c130e4b94b9848138dba8fedab1
parentd9ddcec35d713dd33dc20dcb4db84db35f9956a6
spi/gpio: fix section mismatch warning

Fixes:
The function __devinit spi_gpio_probe() references
a function __init spi_gpio_alloc.isra.4().
If spi_gpio_alloc.isra.4 is only used by spi_gpio_probe then
annotate spi_gpio_alloc.isra.4 with a matching annotation.

[wsa: fix spi_gpio_request(), too]

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/spi/spi-gpio.c