]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/agp/nvidia-agp.c
sx: prepare for BKL pushdown
[linux-2.6-omap-h63xx.git] / drivers / char / agp / nvidia-agp.c
index 6cd7373dcdf4fbd2cb3969fc961c58ddbd6b31c4..225ed2a53d45515655073bee3fea84c3a12df3af 100644 (file)
@@ -157,6 +157,9 @@ static int nvidia_configure(void)
        nvidia_private.aperture =
                (volatile u32 __iomem *) ioremap(apbase, 33 * PAGE_SIZE);
 
+       if (!nvidia_private.aperture)
+               return -ENOMEM;
+
        return 0;
 }