]> err.no Git - linux-2.6/blobdiff - drivers/video/backlight/cr_bllcd.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-2.6] / drivers / video / backlight / cr_bllcd.c
index 5b94567beafd160e3c57074f767208229060a2d5..b7904da51b231158d4f74d0a4ff5da448f3b8821 100644 (file)
@@ -174,7 +174,7 @@ static int cr_backlight_probe(struct platform_device *pdev)
        struct cr_panel *crp;
        u8 dev_en;
 
-       crp = kzalloc(sizeof(crp), GFP_KERNEL);
+       crp = kzalloc(sizeof(*crp), GFP_KERNEL);
        if (crp == NULL)
                return -ENOMEM;