diff options
Diffstat (limited to 'arch/powerpc/sysdev/of_rtc.c')
| -rw-r--r-- | arch/powerpc/sysdev/of_rtc.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/arch/powerpc/sysdev/of_rtc.c b/arch/powerpc/sysdev/of_rtc.c index 6f54b54b1328..153fdac4720f 100644 --- a/arch/powerpc/sysdev/of_rtc.c +++ b/arch/powerpc/sysdev/of_rtc.c @@ -38,21 +38,21 @@ void __init of_instantiate_rtc(void)  			res = kmalloc(sizeof(*res), GFP_KERNEL);  			if (!res) {  				printk(KERN_ERR "OF RTC: Out of memory " -				       "allocating resource structure for %s\n", -				       node->full_name); +				       "allocating resource structure for %pOF\n", +				       node);  				continue;  			}  			err = of_address_to_resource(node, 0, res);  			if (err) {  				printk(KERN_ERR "OF RTC: Error " -				       "translating resources for %s\n", -				       node->full_name); +				       "translating resources for %pOF\n", +				       node);  				continue;  			} -			printk(KERN_INFO "OF_RTC: %s is a %s @ 0x%llx-0x%llx\n", -			       node->full_name, plat_name, +			printk(KERN_INFO "OF_RTC: %pOF is a %s @ 0x%llx-0x%llx\n", +			       node, plat_name,  			       (unsigned long long)res->start,  			       (unsigned long long)res->end);  			platform_device_register_simple(plat_name, -1, res, 1); |