Skip to contentSkip to conversation

crypto/geode-aes.c: add __dev{init,exit} annotations

PATCH Applied Adrian Bunk 2 participants 2 messages Dec 11, 2007 – Dec 12, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto/geode-aes.c: add __dev{init,exit} annotations

This patch adds __dev{init,exit} annotations.

---

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

9a5ecd183293da27ad66241b51c93bea0634df55

drivers/crypto/geode-aes.c +2 -2
index 711e246..96deb47 100644
@@ -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;
maintainer Applied
#1 lore raw
Quoted 3 lines · Adrian Bunk

This patch adds __dev{init,exit} annotations.

Applied to cryptodev. Thanks Adrian.

Signature · 4 lines
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