Message ID | 2633575.9g1uB693TI@amdc3058 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, 2018-05-15 at 18:06 +0200, Bartlomiej Zolnierkiewicz wrote: > On Tuesday, May 15, 2018 02:17:35 PM Bartlomiej Zolnierkiewicz wrote: > > On Tuesday, May 15, 2018 02:59:20 PM Andy Shevchenko wrote: > > It is already merged in publicly available tree (which is not being > > rebased) so it is too late to drop it completely. Oh, sorry for that. > OK, I fixed it myself with the patch below. > > From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> > Subject: [PATCH] video: fbdev: pxafb: match_string() conversion fixup > > "unknown" lcd_types[] entry is needed for proper operation of > the driver, add it back. Yes, that's correct now. I was thinking that we perhaps add a comment that the list of these names should be in sync with definitions in the header.
Index: b/drivers/video/fbdev/pxafb.c =================================================================== --- a/drivers/video/fbdev/pxafb.c 2018-05-15 17:41:00.922315366 +0200 +++ b/drivers/video/fbdev/pxafb.c 2018-05-15 17:42:27.474317546 +0200 @@ -2099,7 +2099,7 @@ static void pxafb_check_options(struct d #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 };