diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-02-09 18:25:49 +0300 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-02-13 08:16:22 +0300 |
commit | 5b47d08900796081b7a1b1edf3aaedc119b625d4 (patch) | |
tree | 6349bc1f94dcae99286d47a4128cc71f249f1005 /drivers/gpu/drm/bridge/ti-tfp410.c | |
parent | a4b10ccead4de0cf46bffb32fcb9e134b202676b (diff) | |
download | linux-5b47d08900796081b7a1b1edf3aaedc119b625d4.tar.xz |
drm/bridge/tfp410: Make symbol tfp410_platform_driver static
Fixes the following sparse warning:
drivers/gpu/drm/bridge/ti-tfp410.c:223:24: warning:
symbol 'tfp410_platform_driver' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170209152549.30711-1-weiyj.lk@gmail.com
Diffstat (limited to 'drivers/gpu/drm/bridge/ti-tfp410.c')
-rw-r--r-- | drivers/gpu/drm/bridge/ti-tfp410.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index b054ea349952..b379d046991b 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -220,7 +220,7 @@ static const struct of_device_id tfp410_match[] = { }; MODULE_DEVICE_TABLE(of, tfp410_match); -struct platform_driver tfp410_platform_driver = { +static struct platform_driver tfp410_platform_driver = { .probe = tfp410_probe, .remove = tfp410_remove, .driver = { |