X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=Documentation%2Fpci.txt;h=cdf2f3c0ab14f8398bee52c1e4a39c41984b28b6;hb=6ab27c6bf38d5ff71dafeca77b79e7c284804b75;hp=fd5028eca13e68a99cee05d613eff1ac43b9b9a2;hpb=51e6ed23fc95c3e710d8a98717924ccb2571aa66;p=~andy%2Flinux diff --git a/Documentation/pci.txt b/Documentation/pci.txt index fd5028eca13..cdf2f3c0ab1 100644 --- a/Documentation/pci.txt +++ b/Documentation/pci.txt @@ -205,8 +205,8 @@ Tips on when/where to use the above attributes: exclusively called by the probe() routine, can be marked __devinit. Ditto for remove() and __devexit. - o If mydriver_probe() is marked with __devinit(), then all address - references to mydriver_probe must use __devexit_p(mydriver_probe) + o If mydriver_remove() is marked with __devexit(), then all address + references to mydriver_remove must use __devexit_p(mydriver_remove) (in the struct pci_driver declaration for example). __devexit_p() will generate the function name _or_ NULL if the function will be discarded. For an example, see drivers/net/tg3.c.