Skip to content

Commit dbeef4f

Browse files
committed
video: fbdev: pxafb: match_string() conversion fixup
"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]>
1 parent 105ac27 commit dbeef4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/fbdev/pxafb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ static void pxafb_check_options(struct device *dev, struct pxafb_mach_info *inf)
20992099

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

0 commit comments

Comments
 (0)