mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE
Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5eaa53de2d
commit
6f475b7160
@ -996,7 +996,7 @@ failed_free:
|
||||
|
||||
|
||||
/* Jason (08/11/2009) PCI_DRV wrapper essential structs */
|
||||
static const struct pci_device_id smtcfb_pci_table[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(smtcfb_pci_table) = {
|
||||
{0x126f, 0x710, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{0x126f, 0x712, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{0x126f, 0x720, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
|
Loading…
Reference in New Issue
Block a user