diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/intel/i945/gma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c index a2e51636db..437b6ce758 100644 --- a/src/northbridge/intel/i945/gma.c +++ b/src/northbridge/intel/i945/gma.c @@ -496,6 +496,9 @@ intel_gma_get_controller_info(void) return NULL; } struct northbridge_intel_i945_config *chip = dev->chip_info; + if (!chip) { + return NULL; + } return &chip->gfx; } |