diff options
author | Gerard Snitselaar <dev@snitselaar.org> | 2012-07-11 05:05:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-07-12 20:00:08 +0100 |
commit | 21fa54e4017fb0ed2107282e6057528ca59b8942 (patch) | |
tree | e17e5ce8407bf9dc605cadd054e6450f3dd6c7a3 /drivers/iio/dac/ad5064.c | |
parent | 9660ac704ec92ef535bf7c991cb7129b186007a5 (diff) | |
download | talos-obmc-linux-21fa54e4017fb0ed2107282e6057528ca59b8942.tar.gz talos-obmc-linux-21fa54e4017fb0ed2107282e6057528ca59b8942.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |