]>
Commit | Line | Data |
---|---|---|
76414229 GKH |
1 | From abda288bb207e5c681306299126af8c022709c18 Mon Sep 17 00:00:00 2001 |
2 | From: Dmitry Torokhov <dmitry.torokhov@gmail.com> | |
3 | Date: Sun, 19 Feb 2017 16:33:35 -0800 | |
4 | Subject: auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches | |
5 | ||
6 | From: Dmitry Torokhov <dmitry.torokhov@gmail.com> | |
7 | ||
8 | commit abda288bb207e5c681306299126af8c022709c18 upstream. | |
9 | ||
10 | The OF device table must be terminated, otherwise we'll be walking past it | |
11 | and into areas unknown. | |
12 | ||
13 | Fixes: 0cad855fbd08 ("auxdisplay: img-ascii-lcd: driver for simple ASCII...") | |
14 | Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> | |
15 | Tested-by: Fengguang Wu <fengguang.wu@intel.com> | |
16 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
17 | ||
18 | --- | |
19 | drivers/auxdisplay/img-ascii-lcd.c | 1 + | |
20 | 1 file changed, 1 insertion(+) | |
21 | ||
22 | --- a/drivers/auxdisplay/img-ascii-lcd.c | |
23 | +++ b/drivers/auxdisplay/img-ascii-lcd.c | |
24 | @@ -218,6 +218,7 @@ static const struct of_device_id img_asc | |
25 | { .compatible = "img,boston-lcd", .data = &boston_config }, | |
26 | { .compatible = "mti,malta-lcd", .data = &malta_config }, | |
27 | { .compatible = "mti,sead3-lcd", .data = &sead3_config }, | |
28 | + { /* sentinel */ } | |
29 | }; | |
30 | ||
31 | /** |