diff options
author | Joe Perches <joe@perches.com> | 2010-11-12 13:37:57 -0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-12-03 16:29:54 +0000 |
commit | f9a5279c70af10e967872e922b91310a91f87b05 (patch) | |
tree | ded9ad28c58d9c575315b741cfde87d232be1bd3 /drivers/mtd/maps/scx200_docflash.c | |
parent | 9118ea321ee320e3c670540122857ff0eba91e32 (diff) | |
download | kernel_samsung_smdk4412-f9a5279c70af10e967872e922b91310a91f87b05.tar.gz kernel_samsung_smdk4412-f9a5279c70af10e967872e922b91310a91f87b05.tar.bz2 kernel_samsung_smdk4412-f9a5279c70af10e967872e922b91310a91f87b05.zip |
mtd: maps: Use printf extension %pR for struct resource
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/scx200_docflash.c')
-rw-r--r-- | drivers/mtd/maps/scx200_docflash.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mtd/maps/scx200_docflash.c b/drivers/mtd/maps/scx200_docflash.c index b5391ebb736..027e628a4f1 100644 --- a/drivers/mtd/maps/scx200_docflash.c +++ b/drivers/mtd/maps/scx200_docflash.c @@ -166,9 +166,8 @@ static int __init init_scx200_docflash(void) outl(pmr, scx200_cb_base + SCx200_PMR); } - printk(KERN_INFO NAME ": DOCCS mapped at 0x%llx-0x%llx, width %d\n", - (unsigned long long)docmem.start, - (unsigned long long)docmem.end, width); + printk(KERN_INFO NAME ": DOCCS mapped at %pR, width %d\n", + &docmem, width); scx200_docflash_map.size = size; if (width == 8) |