X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Ffc4%2Fsocal.c;h=5ee4dda537431635cdeddbc9bd2751b71af54717;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=e158d7d265eb527ab7ea258e52d91d3e46076e16;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/drivers/fc4/socal.c b/drivers/fc4/socal.c index e158d7d26..5ee4dda53 100644 --- a/drivers/fc4/socal.c +++ b/drivers/fc4/socal.c @@ -60,7 +60,7 @@ static char *version = #define for_each_socal(s) for (s = socals; s; s = s->next) struct socal *socals = NULL; -static void socal_copy_from_xram(void *d, unsigned long xram, long size) +static void socal_copy_from_xram(void *d, void __iomem *xram, long size) { u32 *dp = (u32 *) d; while (size) { @@ -70,7 +70,7 @@ static void socal_copy_from_xram(void *d, unsigned long xram, long size) } } -static void socal_copy_to_xram(unsigned long xram, void *s, long size) +static void socal_copy_to_xram(void __iomem *xram, void *s, long size) { u32 *sp = (u32 *) s; while (size) {