swap initializations
authorMalte S. Stretz <mss@apache.org>
Tue, 11 Jan 2011 01:32:42 +0000 (02:32 +0100)
committerMalte S. Stretz <mss@apache.org>
Tue, 11 Jan 2011 01:32:42 +0000 (02:32 +0100)
ax89063.c

index a1af9db..f338c82 100644 (file)
--- a/ax89063.c
+++ b/ax89063.c
@@ -98,8 +98,8 @@ MODULE_EXPORT int ax89063_init(Driver *drvthis) {
 
        p->fd = -1;
        p->framebuf = NULL;
-       p->framebuf_hw = NULL;
        p->framebuf_size = p->width * p->height;
+       p->framebuf_hw = NULL;
 
        /* Read config file */
        /* Get device name, use default if it cannot be retrieved.*/