All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next
@ 2012-07-11  4:05 ` Gerard Snitselaar
  0 siblings, 0 replies; 6+ messages in thread
From: Gerard Snitselaar @ 2012-07-11  4:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-next, linux-iio, jic23, gregkh, lars

ad5064_init() calls ad5064_spi_unregister_driver() which is annotated
__exit.

Signed-off-by: Gerard Snitselaar <dev@snitselaar.org>
---
 drivers/iio/dac/ad5064.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c
index aa739c4..6ec1319 100644
--- a/drivers/iio/dac/ad5064.c
+++ b/drivers/iio/dac/ad5064.c
@@ -582,7 +582,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);
 }
-- 
1.7.11.1.165.g299666c


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-12 19:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11  4:05 [PATCH] iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next Gerard Snitselaar
2012-07-11  4:05 ` Gerard Snitselaar
2012-07-11  6:56 ` Lars-Peter Clausen
2012-07-11  6:56   ` Lars-Peter Clausen
2012-07-12 19:22   ` Jonathan Cameron
2012-07-12 19:22     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.