diff options
author | Dave Jones | 2006-08-12 00:13:41 +0200 |
---|---|---|
committer | Dave Jones | 2006-08-12 00:13:41 +0200 |
commit | b53e674a707cf77e76339852abdc063696679261 (patch) | |
tree | b979d52f91dd6b438b7545234ccdec33c6ed4fbf /drivers/char/agp/via-agp.c | |
parent | [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c (diff) | |
download | kernel-qcow2-linux-b53e674a707cf77e76339852abdc063696679261.tar.gz kernel-qcow2-linux-b53e674a707cf77e76339852abdc063696679261.tar.xz kernel-qcow2-linux-b53e674a707cf77e76339852abdc063696679261.zip |
[AGPGART] const'ify VIA AGP PCI table.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp/via-agp.c')
-rw-r--r-- | drivers/char/agp/via-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c index b8ec25d17478..c149ac9ce9a7 100644 --- a/drivers/char/agp/via-agp.c +++ b/drivers/char/agp/via-agp.c @@ -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), \ |