summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-05-15 18:03:23 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-05-15 18:03:23 +0200
commitdbeef4fe697bfc0c071a88fe565182ce9729a7ba (patch)
treeb5493076768f4b78cf80bb1f14c0cd6170593cf2 /drivers/video
parent105ac277714395a45b648b797392100d9d85079c (diff)
downloadlinux-dbeef4fe697bfc0c071a88fe565182ce9729a7ba.tar.gz
linux-dbeef4fe697bfc0c071a88fe565182ce9729a7ba.tar.bz2
linux-dbeef4fe697bfc0c071a88fe565182ce9729a7ba.zip
video: fbdev: pxafb: match_string() conversion fixup
"unknown" lcd_types[] entry is needed for proper operation of the driver, add it back. Fixes: 6d09dfe70f8f ("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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/pxafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c
index 0c013f1efe81..76722a59f55e 100644
--- a/drivers/video/fbdev/pxafb.c
+++ b/drivers/video/fbdev/pxafb.c
@@ -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
};