mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
video: fbdev: pxafb: match_string() conversion fixup
"unknown" lcd_types[] entry is needed for proper operation of
the driver, add it back.
Fixes: 6d09dfe70f
("video: fbdev: pxafb: Convert to use match_string() helper")
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
This commit is contained in:
parent
105ac27771
commit
dbeef4fe69
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user