summaryrefslogtreecommitdiffstats
path: root/src/northbridge/intel/ironlake/gma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel/ironlake/gma.c')
-rw-r--r--src/northbridge/intel/ironlake/gma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/ironlake/gma.c b/src/northbridge/intel/ironlake/gma.c
index c816ba6b5749..808456063695 100644
--- a/src/northbridge/intel/ironlake/gma.c
+++ b/src/northbridge/intel/ironlake/gma.c
@@ -172,7 +172,7 @@ static void gma_read_resources(struct device *dev)
/* Set the graphics memory to write combining. */
res = probe_resource(dev, PCI_BASE_ADDRESS_2);
- if (res == NULL) {
+ if (!res) {
printk(BIOS_DEBUG, "gma: memory resource not found.\n");
return;
}