diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-27 17:48:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-27 17:48:48 +0000 |
commit | 16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24 (patch) | |
tree | ae7fa0b910db3b6d227aa0cf2a254a59fd40d8d6 /target/linux/generic/files/crypto/ocf/pasemi | |
parent | a35962e3b7010e520a862ac6bc806db223ed1d7f (diff) | |
download | master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.tar.gz master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.tar.bz2 master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.zip |
kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/crypto/ocf/pasemi')
-rw-r--r-- | target/linux/generic/files/crypto/ocf/pasemi/pasemi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/files/crypto/ocf/pasemi/pasemi.c b/target/linux/generic/files/crypto/ocf/pasemi/pasemi.c index 1b4333cdde..7bb62bc531 100644 --- a/target/linux/generic/files/crypto/ocf/pasemi/pasemi.c +++ b/target/linux/generic/files/crypto/ocf/pasemi/pasemi.c @@ -38,7 +38,7 @@ #define TIMER_INTERVAL 1000 -static void __devexit pasemi_dma_remove(struct pci_dev *pdev); +static void pasemi_dma_remove(struct pci_dev *pdev); static struct pasdma_status volatile * dma_status; static int debug; @@ -790,7 +790,7 @@ static device_method_t pasemi_methods = { /* Set up the crypto device structure, private data, * and anything else we need before we start */ -static int __devinit +static int pasemi_dma_probe(struct pci_dev *pdev, const struct pci_device_id *ent) { struct pasemi_softc *sc; @@ -943,7 +943,7 @@ static void pasemi_free_tx_resources(struct pasemi_softc *sc, int chan) del_timer(&ring->crypto_timer); } -static void __devexit pasemi_dma_remove(struct pci_dev *pdev) +static void pasemi_dma_remove(struct pci_dev *pdev) { struct pasemi_softc *sc = pci_get_drvdata(pdev); int i; @@ -984,7 +984,7 @@ static struct pci_driver pasemi_dma_driver = { .name = "pasemi_dma", .id_table = pasemi_dma_pci_tbl, .probe = pasemi_dma_probe, - .remove = __devexit_p(pasemi_dma_remove), + .remove = pasemi_dma_remove, }; static void __exit pasemi_dma_cleanup_module(void) |