The function spidev_remove is used only wrapped by __devexit_p so define it using __devexit.
Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Cc: David Brownell <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Wolfgang Ocker <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Cc: [email protected] --- drivers/spi/spidev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index f921bd1..3379ab9 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -610,7 +610,7 @@ static int spidev_probe(struct spi_device *spi) return status; } -static int spidev_remove(struct spi_device *spi) +static int __devexit spidev_remove(struct spi_device *spi) { struct spidev_data *spidev = spi_get_drvdata(spi); -- 1.6.4.3 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
