diff mbox series

video: fbdev: au1100fb: Spelling s/palette/palette/

Message ID 20220216084029.2913685-1-geert@linux-m68k.org
State New
Headers show
Series video: fbdev: au1100fb: Spelling s/palette/palette/ | expand

Commit Message

Geert Uytterhoeven Feb. 16, 2022, 8:40 a.m. UTC
Fix a misspelling of "palette" in a structure member.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/video/fbdev/au1100fb.c | 2 +-
 drivers/video/fbdev/au1100fb.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Helge Deller Feb. 16, 2022, 9:56 a.m. UTC | #1
On 2/16/22 09:40, Geert Uytterhoeven wrote:
> Fix a misspelling of "palette" in a structure member.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

applied.
Thanks!
Helge

> ---
>  drivers/video/fbdev/au1100fb.c | 2 +-
>  drivers/video/fbdev/au1100fb.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
> index 37a6512feda0fb20..52f731a6148210eb 100644
> --- a/drivers/video/fbdev/au1100fb.c
> +++ b/drivers/video/fbdev/au1100fb.c
> @@ -239,7 +239,7 @@ int au1100fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned
>  	u32 value;
>
>  	fbdev = to_au1100fb_device(fbi);
> -	palette = fbdev->regs->lcd_pallettebase;
> +	palette = fbdev->regs->lcd_palettebase;
>
>  	if (regno > (AU1100_LCD_NBR_PALETTE_ENTRIES - 1))
>  		return -EINVAL;
> diff --git a/drivers/video/fbdev/au1100fb.h b/drivers/video/fbdev/au1100fb.h
> index e7239bceefd3ad34..79f4048726f1af0f 100644
> --- a/drivers/video/fbdev/au1100fb.h
> +++ b/drivers/video/fbdev/au1100fb.h
> @@ -92,7 +92,7 @@ struct au1100fb_regs
>  	u32  lcd_pwmdiv;
>  	u32  lcd_pwmhi;
>  	u32  reserved[(0x0400-0x002C)/4];
> -	u32  lcd_pallettebase[256];
> +	u32  lcd_palettebase[256];
>  };
>
>  struct au1100fb_device {
diff mbox series

Patch

diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
index 37a6512feda0fb20..52f731a6148210eb 100644
--- a/drivers/video/fbdev/au1100fb.c
+++ b/drivers/video/fbdev/au1100fb.c
@@ -239,7 +239,7 @@  int au1100fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned
 	u32 value;
 
 	fbdev = to_au1100fb_device(fbi);
-	palette = fbdev->regs->lcd_pallettebase;
+	palette = fbdev->regs->lcd_palettebase;
 
 	if (regno > (AU1100_LCD_NBR_PALETTE_ENTRIES - 1))
 		return -EINVAL;
diff --git a/drivers/video/fbdev/au1100fb.h b/drivers/video/fbdev/au1100fb.h
index e7239bceefd3ad34..79f4048726f1af0f 100644
--- a/drivers/video/fbdev/au1100fb.h
+++ b/drivers/video/fbdev/au1100fb.h
@@ -92,7 +92,7 @@  struct au1100fb_regs
 	u32  lcd_pwmdiv;
 	u32  lcd_pwmhi;
 	u32  reserved[(0x0400-0x002C)/4];
-	u32  lcd_pallettebase[256];
+	u32  lcd_palettebase[256];
 };
 
 struct au1100fb_device {