commit cad85c03520dbd348dbd633e50d1bc8fc2e19587 Author: Jiri Slaby Date: Tue Jun 19 23:32:42 2007 +0200 add devinit and devexit diff --git a/ath/if_ath_pci.c b/ath/if_ath_pci.c index 2934afd..6a98a2d 100644 --- a/ath/if_ath_pci.c +++ b/ath/if_ath_pci.c @@ -77,7 +77,8 @@ void bus_read_cachesize(struct ath_softc *sc, u8 *csz) pci_read_config_byte(sc->sc_bdev, PCI_CACHE_LINE_SIZE, csz); } -static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) +static int __devinit ath_pci_probe(struct pci_dev *pdev, + const struct pci_device_id *id) { void __iomem *mem; struct ath_softc *sc; @@ -206,7 +207,7 @@ err: return retval; } -static void ath_pci_remove(struct pci_dev *pdev) +static void __devexit ath_pci_remove(struct pci_dev *pdev) { struct net_device *dev = pci_get_drvdata(pdev); struct ath_softc *sc = dev->priv;