projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310d605
)
Staging: vme_ca91cx42: use DEFINE_PCI_DEVICE_TABLE
author
Namhyung Kim
<namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:30 +0000
(
01:40
+0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 10 Dec 2010 00:29:47 +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/vme/bridges/vme_ca91cx42.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vme/bridges/vme_ca91cx42.c
b/drivers/staging/vme/bridges/vme_ca91cx42.c
index 3ddc93ba7049271eed19fbf68fb78b28366a2e0e..42de83e6f1d943d337452a37f3f4bb5add451d48 100644
(file)
--- a/
drivers/staging/vme/bridges/vme_ca91cx42.c
+++ b/
drivers/staging/vme/bridges/vme_ca91cx42.c
@@
-44,7
+44,7
@@
static int geoid;
static char driver_name[] = "vme_ca91cx42";
-static
const struct pci_device_id ca91cx42_ids[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(ca91cx42_ids)
= {
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) },
{ },
};