| | From | Uwe Kleine-König <> | | Subject | [PATCH 29/38] move mc33880_remove to .devexit.text | | Date | Tue, 24 Nov 2009 22:07:24 +0100 |
| |
The function mc33880_remove is used only wrapped by __devexit_p so define it using __devexit.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: "Richard Röjfors" <richard.rojfors.ext@mocean-labs.com> Cc: linux-kernel@vger.kernel.org --- drivers/gpio/mc33880.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/mc33880.c b/drivers/gpio/mc33880.c index e7d01bd..6e82bc6 100644 --- a/drivers/gpio/mc33880.c +++ b/drivers/gpio/mc33880.c @@ -145,7 +145,7 @@ exit_destroy: return ret; } -static int mc33880_remove(struct spi_device *spi) +static int __devexit mc33880_remove(struct spi_device *spi) { struct mc33880 *mc; int ret; -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|