diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-28 01:05:34 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-29 09:43:14 +0200 |
commit | d39bd56452b509f8d6054883b8a0129950ba50cc (patch) | |
tree | a73caaee8d691d43bfc23cb21e8c33edf31c4205 /drivers/usb/host/sl811_cs.c | |
parent | a58357862e71919555ea96cd272e535593a8b3da (diff) | |
download | linux-d39bd56452b509f8d6054883b8a0129950ba50cc.tar.bz2 |
pcmcia: encapsulate ioaddr_t
By now, ioaddr_t should only be used by the deprecated ioctl, as it does not
correctly reflect the maximum ioport range at least on some architectures.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/usb/host/sl811_cs.c')
-rw-r--r-- | drivers/usb/host/sl811_cs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/sl811_cs.c b/drivers/usb/host/sl811_cs.c index ca733b7caea4..516848dd9b48 100644 --- a/drivers/usb/host/sl811_cs.c +++ b/drivers/usb/host/sl811_cs.c @@ -112,7 +112,8 @@ static struct platform_device platform_dev = { .num_resources = ARRAY_SIZE(resources), }; -static int sl811_hc_init(struct device *parent, ioaddr_t base_addr, int irq) +static int sl811_hc_init(struct device *parent, resource_size_t base_addr, + int irq) { if (platform_dev.dev.parent) return -EBUSY; |