Skip to content

Commit

Permalink
video: fbdev: pxafb: match_string() conversion fixup
Browse files Browse the repository at this point in the history
"unknown" lcd_types[] entry is needed for proper operation of
the driver, add it back.

Fixes: 6d09dfe ("video: fbdev: pxafb: Convert to use match_string() helper")
Reported-by: Andy Shevchenko <[email protected]>
Cc: Arvind Yadav <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
  • Loading branch information
bzolnier committed May 15, 2018
1 parent 105ac27 commit dbeef4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@ static void pxafb_check_options(struct device *dev, struct pxafb_mach_info *inf)

#if defined(CONFIG_OF)
static const char * const lcd_types[] = {
"mono-stn", "mono-dstn", "color-stn", "color-dstn",
"unknown", "mono-stn", "mono-dstn", "color-stn", "color-dstn",
"color-tft", "smart-panel", NULL
};

Expand Down

0 comments on commit dbeef4f

Please sign in to comment.