drm/bridge/tfp410: Make symbol tfp410_platform_driver static
Subsystems (3)
PATCH 1/1 drm/bridge/tfp410: Make symbol tfp410_platform_driver static
From: Wei Yongjun <[email protected]>
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 <[email protected]>
--- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/ti-tfp410.c +1 -1
@@ -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 = {
Quoted 7 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
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?
This was queued to drm-misc-next
Thanks,
Archit
Quoted 19 lines
Signed-off-by Wei Yongjun <[email protected]>--- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/bridge/ti-tfp410.c +1
-1@@ -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 = {
Signature · 6 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel