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:
2cea0cf
)
Staging: vme_tsi148: use DEFINE_PCI_DEVICE_TABLE
author
Namhyung Kim
<namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:29 +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_tsi148.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vme/bridges/vme_tsi148.c
b/drivers/staging/vme/bridges/vme_tsi148.c
index 9550b4a8f93acb06d2e39c58b297a47a1660fd5b..26ea42fa784d702b0122bfe3121a1d71d2675fc7 100644
(file)
--- a/
drivers/staging/vme/bridges/vme_tsi148.c
+++ b/
drivers/staging/vme/bridges/vme_tsi148.c
@@
-46,7
+46,7
@@
static int geoid;
static char driver_name[] = "vme_tsi148";
-static
const struct pci_device_id tsi148_ids[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(tsi148_ids)
= {
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_TSI148) },
{ },
};