diff options
author | Olof Johansson <olof@lixom.net> | 2008-02-05 01:27:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:08 -0500 |
commit | 906da809c5be30b4c7f32bb6a489fb25ad794878 (patch) | |
tree | 9516df9eb1a64ee94d185d2711bde3d1defaabb5 /drivers/pcmcia/tcic.c | |
parent | ecb8a8472f6d314096f20885722f2033d2071719 (diff) |
pcmcia: replace kio_addr_t with unsigned int everywhere
Remove kio_addr_t, and replace it with unsigned int. No known architecture
needs more than 32 bits for IO addresses and ports and having a separate type
for it is just messy.
Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pcmcia/tcic.c')
-rw-r--r-- | drivers/pcmcia/tcic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c index 749ac3710914..5792bd5c54f9 100644 --- a/drivers/pcmcia/tcic.c +++ b/drivers/pcmcia/tcic.c | |||
@@ -719,7 +719,7 @@ static int tcic_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) | |||
719 | u_short base, len, ioctl; | 719 | u_short base, len, ioctl; |
720 | 720 | ||
721 | debug(1, "SetIOMap(%d, %d, %#2.2x, %d ns, " | 721 | debug(1, "SetIOMap(%d, %d, %#2.2x, %d ns, " |
722 | "%#lx-%#lx)\n", psock, io->map, io->flags, | 722 | "%#x-%#x)\n", psock, io->map, io->flags, |
723 | io->speed, io->start, io->stop); | 723 | io->speed, io->start, io->stop); |
724 | if ((io->map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) || | 724 | if ((io->map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) || |
725 | (io->stop < io->start)) return -EINVAL; | 725 | (io->stop < io->start)) return -EINVAL; |