diff options
author | Dave Airlie <airlied@gmail.com> | 2012-09-04 07:19:12 +1000 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2012-09-04 07:19:12 +1000 |
commit | 18d26076c778c20eb589b638fc47fa847793f149 (patch) | |
tree | 3330d864eadbd6c0171f185951281bc614811cf6 /src | |
parent | d14ff42f2a205542df2ef723c6151d18db2bea8b (diff) |
intel: fix return value for no pEnt
Probably never gets hit but shuold return FALSE,
pointed out on irc by Lekensteyn
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_driver.c b/src/intel_driver.c index 348d5dfb..218b583d 100644 --- a/src/intel_driver.c +++ b/src/intel_driver.c @@ -477,7 +477,7 @@ static Bool I830PreInit(ScrnInfoPtr scrn, int flags) pEnt = xf86GetEntityInfo(scrn->entityList[0]); if (pEnt == NULL) - return NULL; + return FALSE; if (pEnt->location.type != BUS_PCI #ifdef XSERVER_PLATFORM_BUS |