Merge branch 'for-linus' of git://ceph.newdream.net/git/ceph-client
[pandora-kernel.git] / drivers / gpu / drm / radeon / atom.c
index ebdb0fd..e88c644 100644 (file)
@@ -1245,6 +1245,9 @@ struct atom_context *atom_parse(struct card_info *card, void *bios)
        char name[512];
        int i;
 
+       if (!ctx)
+               return NULL;
+
        ctx->card = card;
        ctx->bios = bios;