[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091211152947.GA1012@gondor.apana.org.au>
Date: Fri, 11 Dec 2009 23:29:47 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Matt Mackall <mpm@...enic.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: hwrng: pasemi - Use __devexit_p
Found this while trying to track down section mismatches in hwrng.
commit af304da7bbc35a72828cd8c5ef3c4e62ddaf0518
Author: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri Dec 11 23:13:33 2009 +0800
hwrng: pasemi - Use __devexit_p
We must wrap __devexit functions with __devexit_p.
Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c
index 7fa61dd..5ec40af 100644
--- a/drivers/char/hw_random/pasemi-rng.c
+++ b/drivers/char/hw_random/pasemi-rng.c
@@ -143,7 +143,7 @@ static struct of_platform_driver rng_driver = {
.name = "pasemi-rng",
.match_table = rng_match,
.probe = rng_probe,
- .remove = rng_remove,
+ .remove = __devexit_p(rng_remove),
};
static int __init rng_init(void)
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists