summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5064.c
diff options
context:
space:
mode:
authorGerard Snitselaar <dev@snitselaar.org>2012-07-11 05:05:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-07-12 20:00:08 +0100
commit21fa54e4017fb0ed2107282e6057528ca59b8942 (patch)
treee17e5ce8407bf9dc605cadd054e6450f3dd6c7a3 /drivers/iio/dac/ad5064.c
parent9660ac704ec92ef535bf7c991cb7129b186007a5 (diff)
downloadop-kernel-dev-21fa54e4017fb0ed2107282e6057528ca59b8942.zip
op-kernel-dev-21fa54e4017fb0ed2107282e6057528ca59b8942.tar.gz
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 <dev@snitselaar.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac/ad5064.c')
-rw-r--r--drivers/iio/dac/ad5064.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c
index de2c368..eb281a2 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);
}
OpenPOWER on IntegriCloud