Skip to contentSkip to conversation

agpgart_be.c: remove dupliacte PCI_DEVICE_ID_SI_651 entry

PATCH New Adrian Bunk 1 participant 1 message Jul 30, 2003 Agpgart driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 agpgart_be.c: remove dupliacte PCI_DEVICE_ID_SI_651 entry

agpgart_be.c contains two entries for PCI_DEVICE_ID_SI_651. The patch below removes one of them.

I've tested the compilation eith 2.4.22-pre9.

cu
Adrian

drivers/char/agp/agpgart_be.c renamed from drivers/char/agp/agpgart_be.c.old +0 -6
@@ -4961,30 +4961,24 @@
 	{ PCI_DEVICE_ID_SI_651,
 		PCI_VENDOR_ID_SI,
 		SIS_GENERIC,
 		"SiS",
 		"651",
 		sis_generic_setup },
 	{ PCI_DEVICE_ID_SI_650,
 		PCI_VENDOR_ID_SI,
 		SIS_GENERIC,
 		"SiS",
 		"650",
 		sis_generic_setup },
-	{ PCI_DEVICE_ID_SI_651,
-		PCI_VENDOR_ID_SI,
-		SIS_GENERIC,
-		"SiS",
-		"651",
-		sis_generic_setup },
 	{ PCI_DEVICE_ID_SI_645,
 		PCI_VENDOR_ID_SI,
 		SIS_GENERIC,
 		"SiS",
 		"645",
 		sis_generic_setup },
 	{ PCI_DEVICE_ID_SI_646,
 		PCI_VENDOR_ID_SI,
 		SIS_GENERIC,
 		"SiS",
 		"646",
 		sis_generic_setup },