]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac1242a4cd72bb0dc997076f45e2609f28fd2af9
tree9911097da6766c130e4b94b9848138dba8fedab1
parentb5fb7c167a14cf3b9b379d73f6615c66d16b6a94
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