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:
parent
9660ac704e
commit
21fa54e401
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue