summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 00:03:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-09 07:39:51 +0100
commit36fe66c164a9fdf1ff4ad085b6b68960c6170000 (patch)
tree6cebcd737cdae31e2e11a0080e650041ef02e878 /drivers/char/agp
parentmisc: bmp085: devicetree irq update. (diff)
downloadlinux-36fe66c164a9fdf1ff4ad085b6b68960c6170000.tar.xz
linux-36fe66c164a9fdf1ff4ad085b6b68960c6170000.zip
char: amd64-agp: remove DEFINE_PCI_DEVICE_TABLE macro
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>
Diffstat (limited to 'drivers/char/agp')
-rw-r--r--drivers/char/agp/amd64-agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index d79d692d05b8..896413b59aae 100644
--- 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) },
{ }
};