diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-02-17 19:02:09 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-02-18 11:42:25 -0500 |
commit | 1a6284cb6f44b2484505ee7567831316a90bc09f (patch) | |
tree | 1e3b046c191ada7467881801d581e37f6afb5752 /drivers/mtd | |
parent | 5ad0fdc6ddd4836ddbd912a4cfc6af3963fdaa59 (diff) |
[MTD] [MAPS] amd76xrom warning fix
drivers/mtd/maps/amd76xrom.c: In function 'amd76xrom_init_one':
drivers/mtd/maps/amd76xrom.c:209: 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')
-rw-r--r-- | drivers/mtd/maps/amd76xrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c index 78b671172bb2..728aed6ad722 100644 --- a/drivers/mtd/maps/amd76xrom.c +++ b/drivers/mtd/maps/amd76xrom.c | |||
@@ -205,8 +205,8 @@ static int __devinit amd76xrom_init_one (struct pci_dev *pdev, | |||
205 | (((unsigned long)(window->virt)) + offset); | 205 | (((unsigned long)(window->virt)) + offset); |
206 | map->map.size = 0xffffffffUL - map_top + 1UL; | 206 | map->map.size = 0xffffffffUL - map_top + 1UL; |
207 | /* Set the name of the map to the address I am trying */ | 207 | /* Set the name of the map to the address I am trying */ |
208 | sprintf(map->map_name, "%s @%08lx", | 208 | sprintf(map->map_name, "%s @%08Lx", |
209 | MOD_NAME, map->map.phys); | 209 | MOD_NAME, (unsigned long long)map->map.phys); |
210 | 210 | ||
211 | /* There is no generic VPP support */ | 211 | /* There is no generic VPP support */ |
212 | for(map->map.bankwidth = 32; map->map.bankwidth; | 212 | for(map->map.bankwidth = 32; map->map.bankwidth; |