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>
This commit is contained in:
Gerard Snitselaar 2012-07-11 05:05:00 +01:00 committed by Jonathan Cameron
parent 9660ac704e
commit 21fa54e401
1 changed files with 1 additions and 1 deletions

View 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);
}