diff options
Diffstat (limited to 'drivers/pcmcia/m32r_pcc.c')
-rw-r--r-- | drivers/pcmcia/m32r_pcc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/pcmcia/m32r_pcc.c b/drivers/pcmcia/m32r_pcc.c index ec4c1253ebbb..2b42b7155e34 100644 --- a/drivers/pcmcia/m32r_pcc.c +++ b/drivers/pcmcia/m32r_pcc.c | |||
@@ -65,7 +65,7 @@ typedef struct pcc_socket { | |||
65 | u_short type, flags; | 65 | u_short type, flags; |
66 | struct pcmcia_socket socket; | 66 | struct pcmcia_socket socket; |
67 | unsigned int number; | 67 | unsigned int number; |
68 | kio_addr_t ioaddr; | 68 | unsigned int ioaddr; |
69 | u_long mapaddr; | 69 | u_long mapaddr; |
70 | u_long base; /* PCC register base */ | 70 | u_long base; /* PCC register base */ |
71 | u_char cs_irq, intr; | 71 | u_char cs_irq, intr; |
@@ -310,7 +310,8 @@ static int __init is_alive(u_short sock) | |||
310 | return 0; | 310 | return 0; |
311 | } | 311 | } |
312 | 312 | ||
313 | static void add_pcc_socket(ulong base, int irq, ulong mapaddr, kio_addr_t ioaddr) | 313 | static void add_pcc_socket(ulong base, int irq, ulong mapaddr, |
314 | unsigned int ioaddr) | ||
314 | { | 315 | { |
315 | pcc_socket_t *t = &socket[pcc_sockets]; | 316 | pcc_socket_t *t = &socket[pcc_sockets]; |
316 | 317 | ||
@@ -491,7 +492,7 @@ static int _pcc_set_io_map(u_short sock, struct pccard_io_map *io) | |||
491 | u_char map; | 492 | u_char map; |
492 | 493 | ||
493 | debug(3, "m32r-pcc: SetIOMap(%d, %d, %#2.2x, %d ns, " | 494 | debug(3, "m32r-pcc: SetIOMap(%d, %d, %#2.2x, %d ns, " |
494 | "%#lx-%#lx)\n", sock, io->map, io->flags, | 495 | "%#x-%#x)\n", sock, io->map, io->flags, |
495 | io->speed, io->start, io->stop); | 496 | io->speed, io->start, io->stop); |
496 | map = io->map; | 497 | map = io->map; |
497 | 498 | ||