Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1580503 > unrolled thread
| Started by | Archit Taneja <architt@codeaurora.org> |
|---|---|
| First post | 2017-02-14 13:20 +0100 |
| Last post | 2017-02-14 13:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH -next] drm/bridge/tfp410: Make symbol tfp410_platform_driver static Archit Taneja <architt@codeaurora.org> - 2017-02-14 13:20 +0100
| From | Archit Taneja <architt@codeaurora.org> |
|---|---|
| Date | 2017-02-14 13:20 +0100 |
| Subject | Re: [PATCH -next] drm/bridge/tfp410: Make symbol tfp410_platform_driver static |
| Message-ID | <taKfo-1Mo-19@gated-at.bofh.it> |
On 2/9/2017 8:55 PM, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> 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
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> ---
> drivers/gpu/drm/bridge/ti-tfp410.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
> index b054ea3..b379d04 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 = {
>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
Back to top | Article view | linux.kernel
csiph-web