projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270b64b
)
Staging: phison: use DEFINE_PCI_DEVICE_TABLE
author
Namhyung Kim
<namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:28 +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/phison/phison.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/phison/phison.c
b/drivers/staging/phison/phison.c
index 677152044f45d5ad7e97a197fd574e2fdb2f1f36..683657cb21f5cc7b8ba263d0fddce58e98cd1671 100644
(file)
--- a/
drivers/staging/phison/phison.c
+++ b/
drivers/staging/phison/phison.c
@@
-69,7
+69,7
@@
static int phison_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
return ret;
}
-static
const struct pci_device_id phison_pci_tbl[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(phison_pci_tbl)
= {
{ PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000, PCI_ANY_ID, PCI_ANY_ID,
PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 },
{ 0, },