iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next
authorGerard Snitselaar <dev@snitselaar.org>
Wed, 11 Jul 2012 04:05:00 +0000 (05:05 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 12 Jul 2012 19:00:08 +0000 (20:00 +0100)
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>
drivers/iio/dac/ad5064.c

index de2c3687b3ee6f318b6d9cc4182a395bfb1dfa3f..eb281a2c295b52e709585b859a9a1f3e0981ec56 100644 (file)
@@ -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);
 }