Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38898
b: refs/heads/master
c: 9ab4f88
h: refs/heads/master
v: v3
  • Loading branch information
Haavard Skinnemoen authored and Linus Torvalds committed Oct 4, 2006
1 parent 2b28922 commit b4473c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7192f92c799e4bf4943e3e233d6e4d786ac4d8a4
refs/heads/master: 9ab4f88b7ffdf338773e7755f923bc6b9e079834
6 changes: 3 additions & 3 deletions trunk/drivers/serial/atmel_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static void atmel_set_termios(struct uart_port *port, struct termios * termios,
*/
static const char *atmel_type(struct uart_port *port)
{
return (port->type == PORT_AT91) ? "ATMEL_SERIAL" : NULL;
return (port->type == PORT_ATMEL) ? "ATMEL_SERIAL" : NULL;
}

/*
Expand Down Expand Up @@ -628,7 +628,7 @@ static int atmel_request_port(struct uart_port *port)
static void atmel_config_port(struct uart_port *port, int flags)
{
if (flags & UART_CONFIG_TYPE) {
port->type = PORT_AT91;
port->type = PORT_ATMEL;
atmel_request_port(port);
}
}
Expand All @@ -639,7 +639,7 @@ static void atmel_config_port(struct uart_port *port, int flags)
static int atmel_verify_port(struct uart_port *port, struct serial_struct *ser)
{
int ret = 0;
if (ser->type != PORT_UNKNOWN && ser->type != PORT_AT91)
if (ser->type != PORT_UNKNOWN && ser->type != PORT_ATMEL)
ret = -EINVAL;
if (port->irq != ser->irq)
ret = -EINVAL;
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/serial_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
/* Parisc type numbers. */
#define PORT_MUX 48

/* Atmel AT91xxx SoC */
#define PORT_AT91 49
/* Atmel AT91 / AT32 SoC */
#define PORT_ATMEL 49

/* Macintosh Zilog type numbers */
#define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */
Expand Down

0 comments on commit b4473c0

Please sign in to comment.