]> err.no Git - linux-2.6/commitdiff
ARM: OMAP: Fix warnings in plat-omap
authorDirk Behme <dirk.behme_at_gmail.com>
Thu, 7 Dec 2006 01:14:00 +0000 (17:14 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 2 Mar 2007 09:47:09 +0000 (01:47 -0800)
Fix warnings

arch/arm/plat-omap/dmtimer.c: In function
'omap_dm_timer_modify_idlect_mask':
arch/arm/plat-omap/dmtimer.c:317: warning: no return
statement in function returning non-void

arch/arm/plat-omap/mailbox.c: In function 'omap_mbox_init':
arch/arm/plat-omap/mailbox.c:231: warning: ignoring return
value of 'class_device_create_file', declared with attribute
warn_unused_result

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dmtimer.c

index bcbb8d7392be6d5b5ca729b29a32439a1ba5331a..6795f04d17b0746bf805cc5dec0c57faa31de7f9 100644 (file)
@@ -314,6 +314,8 @@ struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer)
 __u32 omap_dm_timer_modify_idlect_mask(__u32 inputmask)
 {
        BUG();
+
+       return 0;
 }
 
 #endif