Commit b53e674a707cf77e76339852abdc063696679261

Authored by Dave Jones
1 parent 85be7d6059

[AGPGART] const'ify VIA AGP PCI table.

Signed-off-by: Dave Jones <davej@redhat.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/char/agp/via-agp.c
... ... @@ -9,7 +9,7 @@
9 9 #include <linux/agp_backend.h>
10 10 #include "agp.h"
11 11  
12   -static struct pci_device_id agp_via_pci_table[];
  12 +static const struct pci_device_id agp_via_pci_table[];
13 13  
14 14 #define VIA_GARTCTRL 0x80
15 15 #define VIA_APSIZE 0x84
... ... @@ -485,7 +485,7 @@
485 485 #endif /* CONFIG_PM */
486 486  
487 487 /* must be the same order as name table above */
488   -static struct pci_device_id agp_via_pci_table[] = {
  488 +static const struct pci_device_id agp_via_pci_table[] = {
489 489 #define ID(x) \
490 490 { \
491 491 .class = (PCI_CLASS_BRIDGE_HOST << 8), \