[MTD] [MAPS] dilnetpc: Fix printk warning

The type of a resource could be 32 or 64bit depending upon platform or
option so cast it explicitly.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
Alan Cox 2007-03-07 16:36:01 +00:00 committed by David Woodhouse
parent 83d480917b
commit 99109a6dac

View File

@ -402,8 +402,8 @@ static int __init init_dnpc(void)
++higlvl_partition_info[i].name; ++higlvl_partition_info[i].name;
} }
printk(KERN_NOTICE "DIL/Net %s flash: 0x%lx at 0x%lx\n", printk(KERN_NOTICE "DIL/Net %s flash: 0x%lx at 0x%llx\n",
is_dnp ? "DNPC" : "ADNP", dnpc_map.size, dnpc_map.phys); is_dnp ? "DNPC" : "ADNP", dnpc_map.size, (unsigned long long)dnpc_map.phys);
dnpc_map.virt = ioremap_nocache(dnpc_map.phys, dnpc_map.size); dnpc_map.virt = ioremap_nocache(dnpc_map.phys, dnpc_map.size);