From: Herbert Xu <herbert@gondor.apana.org.au>
To: Matt Mackall <mpm@selenic.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: hwrng: pasemi - Use __devexit_p
Date: Fri, 11 Dec 2009 23:29:47 +0800 [thread overview]
Message-ID: <20091211152947.GA1012@gondor.apana.org.au> (raw)
Found this while trying to track down section mismatches in hwrng.
commit af304da7bbc35a72828cd8c5ef3c4e62ddaf0518
Author: Herbert Xu <herbert@gondor.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@gondor.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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
next reply other threads:[~2009-12-11 15:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 15:29 Herbert Xu [this message]
2009-12-11 18:35 ` hwrng: pasemi - Use __devexit_p Matt Mackall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091211152947.GA1012@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).