]> err.no Git - linux-2.6/commitdiff
[AGPGART] const'ify VIA AGP PCI table.
authorDave Jones <davej@redhat.com>
Fri, 11 Aug 2006 22:13:41 +0000 (18:13 -0400)
committerDave Jones <davej@redhat.com>
Fri, 11 Aug 2006 22:13:41 +0000 (18:13 -0400)
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/via-agp.c

index b8ec25d174787d56c4df0d07294a76f7a4328ff5..c149ac9ce9a7668726527e1f837bad9a84a7192a 100644 (file)
@@ -9,7 +9,7 @@
 #include <linux/agp_backend.h>
 #include "agp.h"
 
-static struct pci_device_id agp_via_pci_table[];
+static const struct pci_device_id agp_via_pci_table[];
 
 #define VIA_GARTCTRL   0x80
 #define VIA_APSIZE     0x84
@@ -485,7 +485,7 @@ static int agp_via_resume(struct pci_dev *pdev)
 #endif /* CONFIG_PM */
 
 /* must be the same order as name table above */
-static struct pci_device_id agp_via_pci_table[] = {
+static const struct pci_device_id agp_via_pci_table[] = {
 #define ID(x) \
        {                                               \
        .class          = (PCI_CLASS_BRIDGE_HOST << 8), \