]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
video: fbdev: fsl-diu-fb: fix spelling mistake "palette"
authorColin Ian King <colin.king@canonical.com>
Mon, 20 Feb 2017 12:51:07 +0000 (13:51 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 20 Feb 2017 12:51:07 +0000 (13:51 +0100)
trivial fix to spelling mistakes of "palette"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/fsl-diu-fb.c
include/linux/fsl-diu-fb.h

index c48a59e35faeeaebd05d398e76fb048c99bc0376..ca3d6b36647155abfe2c587df6f8b8155f649edf 100644 (file)
@@ -439,12 +439,12 @@ static struct mfb_info mfb_template[] = {
 static void __attribute__ ((unused)) fsl_diu_dump(struct diu __iomem *hw)
 {
        mb();
-       pr_debug("DIU: desc=%08x,%08x,%08x, gamma=%08x pallete=%08x "
+       pr_debug("DIU: desc=%08x,%08x,%08x, gamma=%08x palette=%08x "
                 "cursor=%08x curs_pos=%08x diu_mode=%08x bgnd=%08x "
                 "disp_size=%08x hsyn_para=%08x vsyn_para=%08x syn_pol=%08x "
                 "thresholds=%08x int_mask=%08x plut=%08x\n",
                 hw->desc[0], hw->desc[1], hw->desc[2], hw->gamma,
-                hw->pallete, hw->cursor, hw->curs_pos, hw->diu_mode,
+                hw->palette, hw->cursor, hw->curs_pos, hw->diu_mode,
                 hw->bgnd, hw->disp_size, hw->hsyn_para, hw->vsyn_para,
                 hw->syn_pol, hw->thresholds, hw->int_mask, hw->plut);
        rmb();
index a1e8277120c71b93b4b85db620dcee91925ef333..c46eab5bc8937f1b27f9e11faa221b6cccc6994e 100644 (file)
@@ -73,7 +73,7 @@ struct diu_ad {
        /* Word 0(32-bit) in DDR memory */
 /*     __u16 comp; */
 /*     __u16 pixel_s:2; */
-/*     __u16 pallete:1; */
+/*     __u16 palette:1; */
 /*     __u16 red_c:2; */
 /*     __u16 green_c:2; */
 /*     __u16 blue_c:2; */
@@ -142,7 +142,7 @@ struct diu_ad {
 struct diu {
        __be32 desc[3];
        __be32 gamma;
-       __be32 pallete;
+       __be32 palette;
        __be32 cursor;
        __be32 curs_pos;
        __be32 diu_mode;