Skip to content

Commit

Permalink
Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Namhyung Kim authored and Greg Kroah-Hartman committed Dec 10, 2010
1 parent 5eaa53d commit 6f475b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sm7xx/smtcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,


/* 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},
Expand Down

0 comments on commit 6f475b7

Please sign in to comment.