]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE
authorNamhyung Kim <namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:25 +0000 (01:40 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:29:48 +0000 (16:29 -0800)
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>
drivers/staging/sm7xx/smtcfb.c

index 24f47d6388f4076d9e99d02ef5c69f09750a4ce3..f4b163f7338a41d9fdba29912bdacead56626f0f 100644 (file)
@@ -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},