]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
omap2/3/4: mailbox: kill compile warning in mailbox.c
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 15 Feb 2010 18:03:33 +0000 (10:03 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Feb 2010 18:03:33 +0000 (10:03 -0800)
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>
arch/arm/mach-omap2/mailbox.c

index 281ab63424481b99535b2c7ebc5d08a24b6b12ae..2c9fd1c2a7c754d18bd482b09d8594c51e8a9924 100644 (file)
@@ -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);
        }