summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/mailbox.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2010-02-15 21:03:33 +0300
committerTony Lindgren <tony@atomide.com>2010-02-15 21:03:33 +0300
commit0cd7e1cc76c38b29ec459294750660855fa11ca8 (patch)
treee775aa281048ce6fbd05914d1b490bd9372ef4fd /arch/arm/mach-omap2/mailbox.c
parentd761585a0571c9d508b26735a3d268ff3ec3a548 (diff)
downloadlinux-0cd7e1cc76c38b29ec459294750660855fa11ca8.tar.xz
omap2/3/4: mailbox: kill compile warning in mailbox.c
Change %d to %ld to avoid the compile warning. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/mailbox.c')
-rw-r--r--arch/arm/mach-omap2/mailbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c
index 281ab6342448..2c9fd1c2a7c7 100644
--- a/arch/arm/mach-omap2/mailbox.c
+++ b/arch/arm/mach-omap2/mailbox.c
@@ -93,7 +93,7 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
mbox_ick_handle = clk_get(NULL, "mailboxes_ick");
if (IS_ERR(mbox_ick_handle)) {
- printk(KERN_ERR "Could not get mailboxes_ick: %d\n",
+ printk(KERN_ERR "Could not get mailboxes_ick: %ld\n",
PTR_ERR(mbox_ick_handle));
return PTR_ERR(mbox_ick_handle);
}