All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: remove empty at91_init_serial function
@ 2012-04-06 12:36 Joachim Eastwood
  2012-04-06 12:49 ` Nicolas Ferre
  0 siblings, 1 reply; 2+ messages in thread
From: Joachim Eastwood @ 2012-04-06 12:36 UTC (permalink / raw)
  To: linux-arm-kernel

The real function is long gone and the empty one will generate warnings when configured without Atmel serial.
  arch/arm/mach-at91/at91rm9200_devices.c:1176: warning: 'struct at91_uart_config' declared inside parameter list
  arch/arm/mach-at91/at91rm9200_devices.c:1176: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
---
 arch/arm/mach-at91/at91rm9200_devices.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c
index 99ce5c9..05774e5 100644
--- a/arch/arm/mach-at91/at91rm9200_devices.c
+++ b/arch/arm/mach-at91/at91rm9200_devices.c
@@ -1173,7 +1173,6 @@ void __init at91_add_device_serial(void)
 		printk(KERN_INFO "AT91: No default serial console defined.\n");
 }
 #else
-void __init __deprecated at91_init_serial(struct at91_uart_config *config) {}
 void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {}
 void __init at91_set_serial_console(unsigned portnr) {}
 void __init at91_add_device_serial(void) {}
-- 
1.7.9.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: at91: remove empty at91_init_serial function
  2012-04-06 12:36 [PATCH] ARM: at91: remove empty at91_init_serial function Joachim Eastwood
@ 2012-04-06 12:49 ` Nicolas Ferre
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2012-04-06 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

On 04/06/2012 02:36 PM, Joachim Eastwood :
> The real function is long gone and the empty one will generate warnings when configured without Atmel serial.
>   arch/arm/mach-at91/at91rm9200_devices.c:1176: warning: 'struct at91_uart_config' declared inside parameter list
>   arch/arm/mach-at91/at91rm9200_devices.c:1176: warning: its scope is only this definition or declaration, which is probably not what you want
> 
> Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

queue in at91-fixes for 3.4-rc

Thanks,

> ---
>  arch/arm/mach-at91/at91rm9200_devices.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c
> index 99ce5c9..05774e5 100644
> --- a/arch/arm/mach-at91/at91rm9200_devices.c
> +++ b/arch/arm/mach-at91/at91rm9200_devices.c
> @@ -1173,7 +1173,6 @@ void __init at91_add_device_serial(void)
>  		printk(KERN_INFO "AT91: No default serial console defined.\n");
>  }
>  #else
> -void __init __deprecated at91_init_serial(struct at91_uart_config *config) {}
>  void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {}
>  void __init at91_set_serial_console(unsigned portnr) {}
>  void __init at91_add_device_serial(void) {}


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-06 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-06 12:36 [PATCH] ARM: at91: remove empty at91_init_serial function Joachim Eastwood
2012-04-06 12:49 ` Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.