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:
6aa303d
)
drivers/scsi/wd719x.c: remove last declaration using DEFINE_PCI_DEVICE_TABLE
author
Joe Perches
<
[email protected]
>
Thu, 1 Sep 2016 23:14:58 +0000
(16:14 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 2 Sep 2016 00:52:01 +0000
(17:52 -0700)
Convert it to the preferred const struct pci_device_id instead.
Link:
http://lkml.kernel.org/r/95c5e4100c3cd4eda643624f5b70e8d7abceb86c.1472660229.git.joe@perches.com
Signed-off-by: Joe Perches <
[email protected]
>
Reviewed-by: Bart Van Assche <
[email protected]
>
Cc: "James E.J. Bottomley" <
[email protected]
>
Cc: "Martin K. Petersen" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/scsi/wd719x.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/wd719x.c
b/drivers/scsi/wd719x.c
index e3da1a2fdb6664597cc7e639e5a8d61da5a13fd1..2a9da2e0ea6baf7448be18120191ec7a4041aaa4 100644
(file)
--- a/
drivers/scsi/wd719x.c
+++ b/
drivers/scsi/wd719x.c
@@
-962,7
+962,7
@@
static void wd719x_pci_remove(struct pci_dev *pdev)
scsi_host_put(sh);
}
-static
DEFINE_PCI_DEVICE_TABLE(wd719x_pci_table)
= {
+static
const struct pci_device_id wd719x_pci_table[]
= {
{ PCI_DEVICE(PCI_VENDOR_ID_WD, 0x3296) },
{}
};