summaryrefslogtreecommitdiff
path: root/include/asm-avr32/mach/serial_at91.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-avr32/mach/serial_at91.h')
-rw-r--r--include/asm-avr32/mach/serial_at91.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-avr32/mach/serial_at91.h b/include/asm-avr32/mach/serial_at91.h
index 1290bb32802d..239e1f65d67b 100644
--- a/include/asm-avr32/mach/serial_at91.h
+++ b/include/asm-avr32/mach/serial_at91.h
@@ -24,7 +24,7 @@ struct at91_port_fns {
void (*close)(struct uart_port *);
};
-#if defined(CONFIG_SERIAL_AT91)
+#if defined(CONFIG_SERIAL_ATMEL)
void at91_register_uart_fns(struct at91_port_fns *fns);
#else
#define at91_register_uart_fns(fns) do { } while (0)