Commit b53e674a authored by Dave Jones's avatar Dave Jones

[AGPGART] const'ify VIA AGP PCI table.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 85be7d60
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <linux/agp_backend.h> #include <linux/agp_backend.h>
#include "agp.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_GARTCTRL 0x80
#define VIA_APSIZE 0x84 #define VIA_APSIZE 0x84
...@@ -485,7 +485,7 @@ static int agp_via_resume(struct pci_dev *pdev) ...@@ -485,7 +485,7 @@ static int agp_via_resume(struct pci_dev *pdev)
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
/* must be the same order as name table above */ /* 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) \ #define ID(x) \
{ \ { \
.class = (PCI_CLASS_BRIDGE_HOST << 8), \ .class = (PCI_CLASS_BRIDGE_HOST << 8), \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment