]> git.hungrycats.org Git - linux/commitdiff
[I2C]: Fix resource address typing in i2c-voodoo3.c
authorDavid S. Miller <davem@nuts.davemloft.net>
Thu, 19 Feb 2004 13:30:34 +0000 (05:30 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 19 Feb 2004 13:30:34 +0000 (05:30 -0800)
drivers/i2c/busses/i2c-voodoo3.c

index 48806df2de62cd30aeb06c85cda348ca36f5ea3b..4b96c72763c1395c54b53788210b99d96606d13c 100644 (file)
@@ -144,7 +144,7 @@ static int bit_vooddc_getsda(void *data)
 
 static int config_v3(struct pci_dev *dev)
 {
-       unsigned int cadr;
+       unsigned long cadr;
 
        /* map Voodoo3 memory */
        cadr = dev->resource[0].start;