sparc64: Fix sparse warnings in kernel/time.c
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:39:11 +0000 (23:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:39:11 +0000 (23:39 -0700)
commitd8ada0a2cd11c991d8193a3f7d37f1806c93c4a0
tree6bf0fa254292ca0368ea930a1a1d89199a839f9c
parentb0f1e7962f93a78630161c7c9fc263de43c101ac
sparc64: Fix sparse warnings in kernel/time.c

1) Using "clock" as a local variable shadows a global variable of
   the same name declared in linux/clocksource.h

2) rtc_cmos_resource should be static

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/time.c