Skip to content

Commit

Permalink
pci kernel-doc fatal error
Browse files Browse the repository at this point in the history
Fix kernel-doc comments so that they don't produce errors.
Also cut some extraneous copy-paste text.

Error(linhead//drivers/pci/pci.c:1133): duplicate section name 'Description'
Error(linhead//drivers/pci/pci.c:1189): duplicate section name 'Description'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Jul 21, 2008
1 parent 72a7369 commit 443bd1c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,7 @@ int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable)
}

/**
* pci_prepare_to_sleep - prepare PCI device for system-wide transition into
* a sleep state
* pci_prepare_to_sleep - prepare PCI device for system-wide transition into a sleep state
* @dev: Device to handle.
*
* Choose the power state appropriate for the device depending on whether
Expand Down Expand Up @@ -1181,8 +1180,7 @@ int pci_prepare_to_sleep(struct pci_dev *dev)
}

/**
* pci_back_from_sleep - turn PCI device on during system-wide transition into
* the working state a sleep state
* pci_back_from_sleep - turn PCI device on during system-wide transition into working state
* @dev: Device to handle.
*
* Disable device's sytem wake-up capability and put it into D0.
Expand Down

0 comments on commit 443bd1c

Please sign in to comment.