diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-02-17 19:02:07 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-02-18 11:41:47 -0500 |
commit | 65af07141b8249c98888a470e01c449131b72ffe (patch) | |
tree | 0dc8337fa16d5286aa4cc40af653686a8cfc1cb3 /drivers/mtd/maps/ck804xrom.c | |
parent | 3ce32f5d12735b11c002057378879b3366f09825 (diff) |
[MTD] [MAPS] ck804xrom warning fix
drivers/mtd/maps/ck804xrom.c: In function 'ck804xrom_init_one':
drivers/mtd/maps/ck804xrom.c:211: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
drivers/mtd/maps/ck804xrom.c:211: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/maps/ck804xrom.c')
-rw-r--r-- | drivers/mtd/maps/ck804xrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index 68ed02ecb2ec..3d4a4d8ac789 100644 --- a/drivers/mtd/maps/ck804xrom.c +++ b/drivers/mtd/maps/ck804xrom.c | |||
@@ -207,8 +207,8 @@ static int __devinit ck804xrom_init_one (struct pci_dev *pdev, | |||
207 | (((unsigned long)(window->virt)) + offset); | 207 | (((unsigned long)(window->virt)) + offset); |
208 | map->map.size = 0xffffffffUL - map_top + 1UL; | 208 | map->map.size = 0xffffffffUL - map_top + 1UL; |
209 | /* Set the name of the map to the address I am trying */ | 209 | /* Set the name of the map to the address I am trying */ |
210 | sprintf(map->map_name, "%s @%08lx", | 210 | sprintf(map->map_name, "%s @%08Lx", |
211 | MOD_NAME, map->map.phys); | 211 | MOD_NAME, (unsigned long long)map->map.phys); |
212 | 212 | ||
213 | /* There is no generic VPP support */ | 213 | /* There is no generic VPP support */ |
214 | for(map->map.bankwidth = 32; map->map.bankwidth; | 214 | for(map->map.bankwidth = 32; map->map.bankwidth; |