From: Gerard Snitselaar Date: Wed, 11 Jul 2012 04:05:00 +0000 (+0100) Subject: iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=21fa54e4017fb0ed2107282e6057528ca59b8942;p=linux-beck.git iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next ad5064_init() calls ad5064_spi_unregister_driver() which is annotated __exit. Signed-off-by: Gerard Snitselaar Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c index de2c3687b3ee..eb281a2c295b 100644 --- a/drivers/iio/dac/ad5064.c +++ b/drivers/iio/dac/ad5064.c @@ -572,7 +572,7 @@ static int __init ad5064_spi_register_driver(void) return spi_register_driver(&ad5064_spi_driver); } -static void __exit ad5064_spi_unregister_driver(void) +static void ad5064_spi_unregister_driver(void) { spi_unregister_driver(&ad5064_spi_driver); }