diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-20 20:51:52 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-20 20:51:52 +0100 |
commit | 79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc (patch) | |
tree | 037cb2a89f1e74f5b751a58135a5600fc43a04b5 /Documentation/PCI | |
parent | Merge branch 'pci/msi' into next (diff) | |
parent | PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE (diff) | |
download | linux-79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc.tar.xz linux-79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc.zip |
Merge branch 'pci/misc' into next
* pci/misc:
PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE
Diffstat (limited to 'Documentation/PCI')
-rw-r--r-- | Documentation/PCI/pci.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt index 6f458564d625..9518006f6675 100644 --- a/Documentation/PCI/pci.txt +++ b/Documentation/PCI/pci.txt @@ -123,8 +123,10 @@ initialization with a pointer to a structure describing the driver The ID table is an array of struct pci_device_id entries ending with an -all-zero entry; use of the macro DEFINE_PCI_DEVICE_TABLE is the preferred -method of declaring the table. Each entry consists of: +all-zero entry. Definitions with static const are generally preferred. +Use of the deprecated macro DEFINE_PCI_DEVICE_TABLE should be avoided. + +Each entry consists of: vendor,device Vendor and device ID to match (or PCI_ANY_ID) |