diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 02:19:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 02:19:56 +0200 |
commit | adb7ee3746b579a7fa7af7c4ec2c8164bc910ed4 (patch) | |
tree | d8a1f9223b3b7384af7f653a519032b69ef60e0c /drivers/serial | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-serial (diff) | |
parent | [PATCH] ARM: 2730/1: S3C2410 default configuration update (diff) | |
download | linux-adb7ee3746b579a7fa7af7c4ec2c8164bc910ed4.tar.xz linux-adb7ee3746b579a7fa7af7c4ec2c8164bc910ed4.zip |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index 2a9f7ade2c9d..5c4678478b1d 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c @@ -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; } @@ -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; } |