diff mbox

[1/1] ARM: keystone: Staticize keystone_restart

Message ID 1401189824-19814-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat May 27, 2014, 11:23 a.m. UTC
'keystone_restart' is used only in this file.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-keystone/keystone.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ivan Khoronzhuk May 27, 2014, 1:56 p.m. UTC | #1
On 05/27/2014 02:23 PM, Sachin Kamat wrote:
> 'keystone_restart' is used only in this file.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>   arch/arm/mach-keystone/keystone.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
> index 59b8383cbdb0..4ac124b7e4e8 100644
> --- a/arch/arm/mach-keystone/keystone.c
> +++ b/arch/arm/mach-keystone/keystone.c
> @@ -123,7 +123,7 @@ static const char *keystone_match[] __initconst = {
>   	NULL,
>   };
>   
> -void keystone_restart(enum reboot_mode mode, const char *cmd)
> +static void keystone_restart(enum reboot_mode mode, const char *cmd)
>   {
>   	u32 val;
>   

Hi Sachin,

The function keystone_restart() has been deleted in the following series:
[Patch v7 0/7] Introduce keystone reset driver
https://lkml.org/lkml/2014/5/23/588

So, there is no reason to correct it.
Sachin Kamat May 28, 2014, 3:29 a.m. UTC | #2
Hi Ivan,

On 27 May 2014 19:26, Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> wrote:
>
> On 05/27/2014 02:23 PM, Sachin Kamat wrote:
>>
>> 'keystone_restart' is used only in this file.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>>   arch/arm/mach-keystone/keystone.c |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-keystone/keystone.c
>> b/arch/arm/mach-keystone/keystone.c
>> index 59b8383cbdb0..4ac124b7e4e8 100644
>> --- a/arch/arm/mach-keystone/keystone.c
>> +++ b/arch/arm/mach-keystone/keystone.c
>> @@ -123,7 +123,7 @@ static const char *keystone_match[] __initconst = {
>>         NULL,
>>   };
>>   -void keystone_restart(enum reboot_mode mode, const char *cmd)
>> +static void keystone_restart(enum reboot_mode mode, const char *cmd)
>>   {
>>         u32 val;
>>
>
>
> Hi Sachin,
>
> The function keystone_restart() has been deleted in the following series:
> [Patch v7 0/7] Introduce keystone reset driver
> https://lkml.org/lkml/2014/5/23/588

Ah.. missed it.

>
> So, there is no reason to correct it.

Please ignore this patch.
diff mbox

Patch

diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index 59b8383cbdb0..4ac124b7e4e8 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -123,7 +123,7 @@  static const char *keystone_match[] __initconst = {
 	NULL,
 };
 
-void keystone_restart(enum reboot_mode mode, const char *cmd)
+static void keystone_restart(enum reboot_mode mode, const char *cmd)
 {
 	u32 val;