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

From: Adrian Bunk
Date: Tue Dec 11 2007 - 17:20:14 EST


This patch adds __dev{init,exit} annotations.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

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;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/