From: Mike Frysinger Date: Mon, 24 May 2010 04:55:42 +0000 (-0400) Subject: Staging: adis16255: add proper section markings to hotplug funcs X-Git-Tag: upstream/snapshot3+hdmi~14042^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3dee74f52bb844db40865dae3c465212c6a09eb;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Staging: adis16255: add proper section markings to hotplug funcs Signed-off-by: Mike Frysinger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/adis16255/adis16255.c b/drivers/staging/adis16255/adis16255.c index 1ba11f0..55d66e2 100644 --- a/drivers/staging/adis16255/adis16255.c +++ b/drivers/staging/adis16255/adis16255.c @@ -361,7 +361,7 @@ err: /*-------------------------------------------------------------------------*/ -static int spi_adis16255_probe(struct spi_device *spi) +static int __devinit spi_adis16255_probe(struct spi_device *spi) { struct adis16255_init_data *init_data = spi->dev.platform_data; @@ -421,7 +421,7 @@ err: return status; } -static int spi_adis16255_remove(struct spi_device *spi) +static int __devexit spi_adis16255_remove(struct spi_device *spi) { struct spi_adis16255_data *spiadis = dev_get_drvdata(&spi->dev);