From: Aapo Tahkola Date: Sun, 30 Jan 2005 11:12:59 +0000 (+0000) Subject: Fix for compiler warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29d021cd31faa1d3892122e2ed2d4753a9e92c27;p=mesa.git Fix for compiler warnings. --- diff --git a/src/mesa/drivers/dri/r300/radeon_screen.c b/src/mesa/drivers/dri/r300/radeon_screen.c index 7955a2efa35..7e03953680b 100644 --- a/src/mesa/drivers/dri/r300/radeon_screen.c +++ b/src/mesa/drivers/dri/r300/radeon_screen.c @@ -196,7 +196,7 @@ static const struct dri_debug_control debug_control[] = { #define PCI_CHIP_RV350_AP 0x4150 #define PCI_CHIP_RV350_AS 0x4153 #define PCI_CHIP_RV350_NP 0x4E50 -#define PCI_CHIP_RV350_NP 0x4E54 +#define PCI_CHIP_RV350_NT 0x4E54 #define PCI_CHIP_R300_ND 0x4E44 #define PCI_CHIP_R300_NE 0x4E45 #define PCI_CHIP_R300_NF 0x4E46 @@ -368,6 +368,7 @@ static radeonScreenPtr radeonCreateScreen(__DRIscreenPrivate * sPriv) case PCI_CHIP_RV350_AP: case PCI_CHIP_RV350_AS: case PCI_CHIP_RV350_NP: + case PCI_CHIP_RV350_NT: screen->chipset = RADEON_CHIP_RV350; break;