projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b10cc
)
drm/bridge/tfp410: Make symbol tfp410_platform_driver static
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 9 Feb 2017 15:25:49 +0000
(15:25 +0000)
committer
Archit Taneja
<architt@codeaurora.org>
Mon, 13 Feb 2017 05:16:22 +0000
(10:46 +0530)
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
drivers/gpu/drm/bridge/ti-tfp410.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/ti-tfp410.c
b/drivers/gpu/drm/bridge/ti-tfp410.c
index b054ea349952033f1e2643c75b2b7df989a5b979..b379d046991b3eaea962b67de754c86b530084cc 100644
(file)
--- 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 = {
+st
atic st
ruct platform_driver tfp410_platform_driver = {
.probe = tfp410_probe,
.remove = tfp410_remove,
.driver = {