summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-13 02:07:52 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-27 18:24:00 +0200
commit2427ddd8fae2febe3f5ac1ba76b092541304d9f0 (patch)
tree29d98aa03b1331fb1d1a9aaf3a6dddcc7eb48b11 /drivers/net
parent[PATCH] 64bit resource: change pnp core to use resource_size_t (diff)
downloadlinux-2427ddd8fae2febe3f5ac1ba76b092541304d9f0.tar.xz
linux-2427ddd8fae2febe3f5ac1ba76b092541304d9f0.zip
[PATCH] 64bit Resource: convert a few remaining drivers to use resource_size_t where needed
Based on a patch series originally from Vivek Goyal <vgoyal@in.ibm.com> Cc: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/8139cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c
index c1e1dc505138..d26dd6a7062d 100644
--- a/drivers/net/8139cp.c
+++ b/drivers/net/8139cp.c
@@ -1823,7 +1823,7 @@ static int cp_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
struct cp_private *cp;
int rc;
void __iomem *regs;
- long pciaddr;
+ resource_size_t pciaddr;
unsigned int addr_len, i, pci_using_dac;
u8 pci_rev;