This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / video / aty / mach64_cursor.c
index d612fc4..2b1bae9 100644 (file)
@@ -182,7 +182,7 @@ struct aty_cursor *__init aty_init_cursor(struct fb_info *info)
 
        cursor = kmalloc(sizeof(struct aty_cursor), GFP_ATOMIC);
        if (!cursor)
-               return NULL;
+               return 0;
        memset(cursor, 0, sizeof(*cursor));
 
        info->fix.smem_len -= PAGE_SIZE;