diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-04-30 03:54:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:48 -0400 |
commit | 24cb233520f01971d6d873cb52c64bbbb0665ac0 (patch) | |
tree | 08ee88564a13e1a07132a59e6119b5affbd13cad /drivers/char/synclink_gt.c | |
parent | a6fc819ebe2d70c92e43e14adbb93a5bd8ea5aa3 (diff) |
char serial: switch drivers to ioremap_nocache
Simple search/replace except for synclink.c where I noticed a real bug and
fixed it too. It was doing NULL + offset, then checking for NULL if the remap
failed.
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Paul Fulghum <paulkf@microgate.com>
Acked-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/synclink_gt.c')
-rw-r--r-- | drivers/char/synclink_gt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 430f5bc0ae30..2001b0e52dc6 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -3350,7 +3350,7 @@ static int claim_resources(struct slgt_info *info) | |||
3350 | else | 3350 | else |
3351 | info->reg_addr_requested = true; | 3351 | info->reg_addr_requested = true; |
3352 | 3352 | ||
3353 | info->reg_addr = ioremap(info->phys_reg_addr, SLGT_REG_SIZE); | 3353 | info->reg_addr = ioremap_nocache(info->phys_reg_addr, SLGT_REG_SIZE); |
3354 | if (!info->reg_addr) { | 3354 | if (!info->reg_addr) { |
3355 | DBGERR(("%s cant map device registers, addr=%08X\n", | 3355 | DBGERR(("%s cant map device registers, addr=%08X\n", |
3356 | info->device_name, info->phys_reg_addr)); | 3356 | info->device_name, info->phys_reg_addr)); |