2007-12-11 22:19:49

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] crypto/geode-aes.c: add __dev{init,exit} annotations

This patch adds __dev{init,exit} annotations.

Signed-off-by: Adrian Bunk <[email protected]>

---

drivers/crypto/geode-aes.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

9a5ecd183293da27ad66241b51c93bea0634df55
diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c
index 711e246..96deb47 100644
--- a/drivers/crypto/geode-aes.c
+++ b/drivers/crypto/geode-aes.c
@@ -374,7 +374,7 @@ static struct crypto_alg geode_ecb_alg = {
}
};

-static void
+static void __devexit
geode_aes_remove(struct pci_dev *dev)
{
crypto_unregister_alg(&geode_alg);
@@ -389,7 +389,7 @@ geode_aes_remove(struct pci_dev *dev)
}


-static int
+static int __devinit
geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
{
int ret;


2007-12-12 02:43:22

by Herbert Xu

[permalink] [raw]
Subject: Re: [2.6 patch] crypto/geode-aes.c: add __dev{init,exit} annotations

On Tue, Dec 11, 2007 at 11:19:50PM +0100, Adrian Bunk wrote:
> This patch adds __dev{init,exit} annotations.
>
> Signed-off-by: Adrian Bunk <[email protected]>

Applied to cryptodev. Thanks Adrian.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt