summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-12-20 12:51:52 -0700
committerBjorn Helgaas <bhelgaas@google.com>2013-12-20 12:51:52 -0700
commit79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc (patch)
tree037cb2a89f1e74f5b751a58135a5600fc43a04b5 /include/linux/pci.h
parent47e0ab3f39aec53d9b7ac77dbe11a645e40583f9 (diff)
parent92e112fdbb3cb55b43390426501a7efacd893b96 (diff)
downloadlinux-stable-79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc.tar.gz
linux-stable-79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc.tar.bz2
linux-stable-79bf7fc51118e4ffc61a0a8c943b94c394aa3ecc.zip
Merge branch 'pci/misc' into next
* pci/misc: PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 9172cc2a3041..4b7cf4c954fe 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -635,8 +635,7 @@ struct pci_driver {
* DEFINE_PCI_DEVICE_TABLE - macro used to describe a pci device table
* @_table: device table name
*
- * This macro is used to create a struct pci_device_id array (a device table)
- * in a generic manner.
+ * This macro is deprecated and should not be used in new code.
*/
#define DEFINE_PCI_DEVICE_TABLE(_table) \
const struct pci_device_id _table[]