From 491c95c8ae472ab958f267c383742cfff5bd5303 Mon Sep 17 00:00:00 2001 From: Grant Grundler Date: Sun, 11 Feb 2007 00:04:04 -0700 Subject: [PATCH] --- yaml --- r: 48779 b: refs/heads/master c: 26ba05e4c66ad3fafe08412ffcf8c328cc4640b0 h: refs/heads/master i: 48777: 0a9513f35d3cfe18057a3d57dc6b53e86e7f4c9e 48775: 5f6a47edf41a2c3fbf6f2da1d0bbbc24456110b4 v: v3 --- [refs] | 2 +- trunk/Documentation/pci.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 8a3ebefed736..77adb48a2307 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f95d882d81ee731be2a4a3b34f86810e29b68836 +refs/heads/master: 26ba05e4c66ad3fafe08412ffcf8c328cc4640b0 diff --git a/trunk/Documentation/pci.txt b/trunk/Documentation/pci.txt index fd5028eca13e..cdf2f3c0ab14 100644 --- a/trunk/Documentation/pci.txt +++ b/trunk/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.