]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc: Make sure we have an RTC before trying to adjust it
authorKumar Gala <galak@freescale.com>
Thu, 20 Oct 2005 16:43:33 +0000 (11:43 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Oct 2005 05:52:37 +0000 (15:52 +1000)
commitbda95da1ebf031de26e590fd30f47aa6d6d3bf27
tree249fc27bbf4b81f8cad1072f3ff359a7876fdd5a
parent12f62213d485e55ff86dd72b4e06217c64dec730
[PATCH] powerpc: Make sure we have an RTC before trying to adjust it

Its valid for ppc_md.set_rtc_time to be NULL.  We need to check
that its non-NULL before trying to update the RTC.

Signed-off-by: Kumar K. Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c