[MTD] update internal API to support 64-bit device size
[deliverable/linux.git] / drivers / mtd / maps / nettel.c
index 965e6c6d6ab022237d523c224eb47b13830d67c3..a8723a6b74574a74e1e00b08f88b3c3e8ba3bdcb 100644 (file)
@@ -226,7 +226,7 @@ static int __init nettel_init(void)
 
        if ((amd_mtd = do_map_probe("jedec_probe", &nettel_amd_map))) {
                printk(KERN_NOTICE "SNAPGEAR: AMD flash device size = %dK\n",
-                       amd_mtd->size>>10);
+                       (int)(amd_mtd->size>>10));
 
                amd_mtd->owner = THIS_MODULE;
 
This page took 0.023867 seconds and 5 git commands to generate.