diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-09 16:40:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-10 00:29:48 (GMT) |
commit | 6f475b71605c7ebf6f5b06b8e4dc58f672b4f9b5 (patch) | |
tree | 87f6801c9ebda20e9b9554305c35a2866727b177 /drivers/staging/sm7xx | |
parent | 5eaa53de2d9acd9dbcf737b247a0bb0788e79fdf (diff) | |
download | linux-6f475b71605c7ebf6f5b06b8e4dc58f672b4f9b5.tar.xz |
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>
Diffstat (limited to 'drivers/staging/sm7xx')
-rw-r--r-- | drivers/staging/sm7xx/smtcfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c index 24f47d6..f4b163f 100644 --- a/drivers/staging/sm7xx/smtcfb.c +++ b/drivers/staging/sm7xx/smtcfb.c @@ -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}, |