projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0abd6e
)
char: amd64-agp: remove DEFINE_PCI_DEVICE_TABLE macro
author
Jingoo Han
<jg1.han@samsung.com>
Mon, 2 Dec 2013 23:03:23 +0000
(08:03 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 06:39:51 +0000
(22:39 -0800)
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/agp/amd64-agp.c
patch
|
blob
|
history
diff --git
a/drivers/char/agp/amd64-agp.c
b/drivers/char/agp/amd64-agp.c
index d79d692d05b8f3c4a2d87e3422569ef084f365f8..896413b59aaea9d6f9c153181f4da742e04a8bf9 100644
(file)
--- a/
drivers/char/agp/amd64-agp.c
+++ b/
drivers/char/agp/amd64-agp.c
@@
-735,7
+735,7
@@
static struct pci_device_id agp_amd64_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_amd64_pci_table);
-static
DEFINE_PCI_DEVICE_TABLE(agp_amd64_pci_promisc_table)
= {
+static
const struct pci_device_id agp_amd64_pci_promisc_table[]
= {
{ PCI_DEVICE_CLASS(0, 0) },
{ }
};