Loading Documentation/PCI/pci.txt +4 −2 Original line number Diff line number Diff line Loading @@ -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) Loading include/linux/pci.h +1 −2 Original line number Diff line number Diff line Loading @@ -609,8 +609,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[] Loading scripts/checkpatch.pl +1045 −211 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
Documentation/PCI/pci.txt +4 −2 Original line number Diff line number Diff line Loading @@ -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) Loading
include/linux/pci.h +1 −2 Original line number Diff line number Diff line Loading @@ -609,8 +609,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[] Loading
scripts/checkpatch.pl +1045 −211 File changed.Preview size limit exceeded, changes collapsed. Show changes