X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b4349980400f497c52e5d3ebc6a83d32bcb90d8d..ca1329b26cbf56d82efc682347f07f765d7f2dd6:/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c diff --git a/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c b/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c index e04bb99f1..2c536ce70 100644 --- a/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c +++ b/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include static struct mtd_info *rdc3210_mtd; @@ -197,7 +197,7 @@ static int erase_write (struct mtd_info *mtd, unsigned long pos, static int __init init_rdc3210_map(void) { rdc3210_map.phys = -rdc3210_map.size; - printk(KERN_NOTICE "flash device: %x at %x\n", rdc3210_map.size, rdc3210_map.phys); + printk(KERN_NOTICE "flash device: %lx at %x\n", rdc3210_map.size, rdc3210_map.phys); #if CONFIG_MTD_RDC3210_SIZE == 0x800000 simple_map_init(&rdc3210_map);