Skip to content

Commit

Permalink
[AGPGART] const'ify VIA AGP PCI table.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed Aug 11, 2006
1 parent 85be7d6 commit b53e674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/agp/via-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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), \
Expand Down

0 comments on commit b53e674

Please sign in to comment.