ARM: at91: remove empty at91_init_serial function
PATCH 1/1 ARM: at91: remove empty at91_init_serial function
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
--- arch/arm/mach-at91/at91rm9200_devices.c | 1 - 1 file changed, 1 deletion(-)
arch/arm/mach-at91/at91rm9200_devices.c +0 -1
@@ -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 ) {}
Signature · 1 line
1.7.9.6
PATCH 1/1 ARM: at91: remove empty at91_init_serial function
On 04/06/2012 02:36 PM, Joachim Eastwood :
Quoted 5 lines
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: 'structat91_uart_config' declared inside parameter listarch/arm/mach-at91/at91rm9200_devices.c:1176: warning: its scope is only this definition or declaration, which is probably not what you wantSigned-off-by Joachim Eastwood <[email protected]>
queue in at91-fixes for 3.4-rc
Thanks,
Quoted 16 lines
--- arch/arm/mach-at91/at91rm9200_devices.c | 1 - 1 file changed, 1 deletion(-)arch/arm/mach-at91/at91rm9200_devices.c +0
-1@@ -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 ) {}
Signature · 1 line
Nicolas Ferre