[AGPGART] Fix wrong ID in via-agp.c
authorGabriel Mansi <gabriel.mansi@gmail.com>
Mon, 7 May 2007 21:55:13 +0000 (18:55 -0300)
committerDave Jones <davej@redhat.com>
Sun, 13 May 2007 21:41:47 +0000 (17:41 -0400)
commitbbdfff86a8f0c91ad8b6dedf74bc14de4ba39679
tree9e2b05dd3964921cd7f5ac4abdd35ba71b6b0830
parent705962ccc9d21a08b74b6b6e1d3cf10f98968a67
[AGPGART] Fix wrong ID in via-agp.c

there is a wrong id in drivers/char/agp/via-agp.c
#define PCI_DEVICE_ID_VIA_CX700         0x8324
It must be 0x0324

Notice that PCI_DEVICE_ID_VIA_CX700 is also used in
drivers/i2c/busses/i2c-viapro.c and
drivers/ide/pci/via82cxxx.c

So, I think that constant must be renamed to avoid conflicting.
I attached a proposed patch.

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/via-agp.c
include/linux/pci_ids.h