diff mbox

[1/2] drm/exynos: Make exynos4_fimd_driver_data static

Message ID 1353314274-21157-1-git-send-email-sachin.kamat@linaro.org
State Superseded
Headers show

Commit Message

Sachin Kamat Nov. 19, 2012, 8:37 a.m. UTC
Fixes the following sparse warning:
drivers/gpu/drm/exynos/exynos_drm_fimd.c:65:25: warning:
symbol 'exynos4_fimd_driver_data' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/gpu/drm/exynos/exynos_drm_fimd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

대인기/Tizen Platform Lab(SR)/삼성전자 Nov. 19, 2012, 9:45 a.m. UTC | #1
Please, combine these patches.

Thanks,
Inki Dae

> -----Original Message-----
> From: Sachin Kamat [mailto:sachin.kamat@linaro.org]
> Sent: Monday, November 19, 2012 5:38 PM
> To: dri-devel@lists.freedesktop.org
> Cc: inki.dae@samsung.com; jy0922.shim@samsung.com;
sachin.kamat@linaro.org;
> patches@linaro.org
> Subject: [PATCH 1/2] drm/exynos: Make exynos4_fimd_driver_data static
> 
> Fixes the following sparse warning:
> drivers/gpu/drm/exynos/exynos_drm_fimd.c:65:25: warning:
> symbol 'exynos4_fimd_driver_data' was not declared. Should it be static?
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_fimd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> index 130a2b5..730ce56 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> @@ -61,7 +61,7 @@ struct fimd_driver_data {
>  	unsigned int timing_base;
>  };
> 
> -struct fimd_driver_data exynos4_fimd_driver_data = {
> +static struct fimd_driver_data exynos4_fimd_driver_data = {
>  	.timing_base = 0x0,
>  };
> 
> --
> 1.7.4.1
Sachin Kamat Nov. 19, 2012, 9:55 a.m. UTC | #2
On 19 November 2012 15:15, Inki Dae <inki.dae@samsung.com> wrote:
> Please, combine these patches.

OK. I will re-send.

>
> Thanks,
> Inki Dae
>
>> -----Original Message-----
>> From: Sachin Kamat [mailto:sachin.kamat@linaro.org]
>> Sent: Monday, November 19, 2012 5:38 PM
>> To: dri-devel@lists.freedesktop.org
>> Cc: inki.dae@samsung.com; jy0922.shim@samsung.com;
> sachin.kamat@linaro.org;
>> patches@linaro.org
>> Subject: [PATCH 1/2] drm/exynos: Make exynos4_fimd_driver_data static
>>
>> Fixes the following sparse warning:
>> drivers/gpu/drm/exynos/exynos_drm_fimd.c:65:25: warning:
>> symbol 'exynos4_fimd_driver_data' was not declared. Should it be static?
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>>  drivers/gpu/drm/exynos/exynos_drm_fimd.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> index 130a2b5..730ce56 100644
>> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> @@ -61,7 +61,7 @@ struct fimd_driver_data {
>>       unsigned int timing_base;
>>  };
>>
>> -struct fimd_driver_data exynos4_fimd_driver_data = {
>> +static struct fimd_driver_data exynos4_fimd_driver_data = {
>>       .timing_base = 0x0,
>>  };
>>
>> --
>> 1.7.4.1
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 130a2b5..730ce56 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -61,7 +61,7 @@  struct fimd_driver_data {
 	unsigned int timing_base;
 };
 
-struct fimd_driver_data exynos4_fimd_driver_data = {
+static struct fimd_driver_data exynos4_fimd_driver_data = {
 	.timing_base = 0x0,
 };