Commit 5b47d089 authored by Wei Yongjun's avatar Wei Yongjun Committed by Archit Taneja

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170209152549.30711-1-weiyj.lk@gmail.com
parent a4b10cce
...@@ -220,7 +220,7 @@ static const struct of_device_id tfp410_match[] = { ...@@ -220,7 +220,7 @@ static const struct of_device_id tfp410_match[] = {
}; };
MODULE_DEVICE_TABLE(of, tfp410_match); MODULE_DEVICE_TABLE(of, tfp410_match);
struct platform_driver tfp410_platform_driver = { static struct platform_driver tfp410_platform_driver = {
.probe = tfp410_probe, .probe = tfp410_probe,
.remove = tfp410_remove, .remove = tfp410_remove,
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment