From: Sam Ravnborg Date: Fri, 16 May 2014 21:25:44 +0000 (+0200) Subject: sparc32: fix sparse warnings in time_32.c X-Git-Tag: omap-for-v3.16/fixes-rc4~86^2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcea8b27f985bc02fd7b040bbb5914227a0f49d7;p=pandora-kernel.git sparc32: fix sparse warnings in time_32.c Fix following warnings: time_32.c:63:1: warning: symbol 'rtc_lock' was not declared. Should it be static? time_32.c:357:13: warning: symbol 'time_init' was not declared. Should it be static? time_32.c:148:16: warning: dereference of noderef expression Add extern definition of rtc_lock in mc146818rtc.h. time_init() is called from init/main.c - add prototype to kernel.h. Use proper u32 __iomem * for master_l10_counter. Fix all users. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- Reading git-diff-tree failed