diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-04-29 13:42:34 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-05-19 09:56:58 +0300 |
commit | acfa7fd18bfb2c060a410a088389f8f01cef44f8 (patch) | |
tree | b7ebb38bbe0c888d1e673109e0b696dbbcee66e9 /drivers/gpu/drm/tilcdc | |
parent | 26c06633f6b1ed03c2b9bb3484e9777e95f03d31 (diff) | |
download | linux-acfa7fd18bfb2c060a410a088389f8f01cef44f8.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c index 1c9fa8cfcd49..00efc30b47d8 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c @@ -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 = { |