[PATCH] rtc: fix printk of 64-bit res on 32-bit platform
commit6a15f46c1272afd3010259067451bf0df04f6511
authorJeff Garzik <jeff@garzik.org>
Tue, 17 Oct 2006 07:10:25 +0000 (17 00:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:47 +0000 (17 08:18 -0700)
tree21968f8737159e2ef24c8fef487fb633ba2c9681
parenteee44cca665aa1a5663e6a00c2bdfc275739dac5
[PATCH] rtc: fix printk of 64-bit res on 32-bit platform

With 64-bit resources on 32-bit platforms, the resource address might be
larger than a void*.  Fix printk to work regardless of resource size.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-v3020.c