projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eaa53d
)
Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE
author
Namhyung Kim
<namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:25 +0000
(
01:40
+0900)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/sm7xx/smtcfb.c
b/drivers/staging/sm7xx/smtcfb.c
index
24f47d6
..
f4b163f
100644
(file)
--- 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},