diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-15 10:32:34 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-16 22:15:39 +0000 |
commit | 3771387ad11b5842a83e58a4b373c2acdd827bd2 (patch) | |
tree | 59da2bf679d2cae00ebdd6d720fab2a835b39649 /src/intel_module.c | |
parent | edbeab8c4edf9e0e89d85add485fe659795b6350 (diff) |
Compile out UXA if so desired
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r-- | src/intel_module.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/intel_module.c b/src/intel_module.c index 3a0ecc9a..80b5da88 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -346,8 +346,10 @@ static Bool intel_pci_probe(DriverPtr driver, default: #if USE_SNA sna_init_scrn(scrn, entity_num); -#else +#elif USE_UXA intel_init_scrn(scrn); +#else + scrn = NULL; #endif break; } @@ -387,8 +389,10 @@ intel_available_options(int chipid, int busid) default: #if USE_SNA return sna_available_options(chipid, busid); -#else +#elif USE_UXA return intel_uxa_available_options(chipid, busid); +#else + return NULL; #endif } } |