Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3012
b: refs/heads/master
c: d9dc580
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Jun 23, 2005
1 parent cb4b73c commit 7cd69ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c1241c4c3a1507d76c7b987130f2f02f53ecc09f
refs/heads/master: d9dc58049d3ed5c63c1a6ac82c217558b4ec623a
4 changes: 2 additions & 2 deletions trunk/drivers/serial/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static inline struct s3c24xx_uart_port *to_ourport(struct uart_port *port)

/* translate a port to the device name */

static inline char *s3c24xx_serial_portname(struct uart_port *port)
static inline const char *s3c24xx_serial_portname(struct uart_port *port)
{
return to_platform_device(port->dev)->name;
}
Expand Down Expand Up @@ -903,7 +903,7 @@ static void s3c24xx_serial_release_port(struct uart_port *port)

static int s3c24xx_serial_request_port(struct uart_port *port)
{
char *name = s3c24xx_serial_portname(port);
const char *name = s3c24xx_serial_portname(port);
return request_mem_region(port->mapbase, MAP_SIZE, name) ? 0 : -EBUSY;
}

Expand Down

0 comments on commit 7cd69ed

Please sign in to comment.