drm/tilcdc: add missing static for panel_driver

struct platform_driver panel_driver is only used from tilcdc_panel.c, so
it can be static.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429104234.18910-3-tomi.valkeinen@ti.com
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Tomi Valkeinen 2020-04-29 13:42:34 +03:00
parent 26c06633f6
commit acfa7fd18b

View File

@ -395,7 +395,7 @@ static const struct of_device_id panel_of_match[] = {
{ },
};
struct platform_driver panel_driver = {
static struct platform_driver panel_driver = {
.probe = panel_probe,
.remove = panel_remove,
.driver = {