]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd2e615125762459fd2bb9f0c91881509a0b9c31b
tree249fc27bbf4b81f8cad1072f3ff359a7876fdd5a
parent340601043df518d6f4f82da285c60c785ac8a716
[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