summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-12-01 16:02:37 -0800
committerAaron Plattner <aplattner@nvidia.com>2007-12-01 16:02:37 -0800
commit64721629c3908556fcf8c9941feea1e3b961bf00 (patch)
tree59b9eb87b2ebe2acbe2837e13041220f50603884
parent7f281be7e53ac274016a6af6b2b5dc6f8bddb810 (diff)
G80Create{Dac,Sor} return pointers, not Bools.
-rw-r--r--src/g80_dac.c2
-rw-r--r--src/g80_sor.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/g80_dac.c b/src/g80_dac.c
index b155d2d..282436b 100644
--- a/src/g80_dac.c
+++ b/src/g80_dac.c
@@ -195,7 +195,7 @@ G80CreateDac(ScrnInfoPtr pScrn, ORNum or)
char orName[5];
if(!pPriv)
- return FALSE;
+ return NULL;
snprintf(orName, 5, "VGA%i", or);
output = xf86OutputCreate(pScrn, &G80DacOutputFuncs, orName);
diff --git a/src/g80_sor.c b/src/g80_sor.c
index e1128ef..387b1e8 100644
--- a/src/g80_sor.c
+++ b/src/g80_sor.c
@@ -475,7 +475,7 @@ G80CreateSor(ScrnInfoPtr pScrn, ORNum or, PanelType panelType)
const xf86OutputFuncsRec *funcs;
if(!pPriv)
- return FALSE;
+ return NULL;
if(panelType == LVDS) {
strcpy(orName, "LVDS");
@@ -487,7 +487,7 @@ G80CreateSor(ScrnInfoPtr pScrn, ORNum or, PanelType panelType)
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Failed to find LVDS native mode\n");
xfree(pPriv);
- return FALSE;
+ return NULL;
}
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "%s native size %dx%d\n",