Re: [PATCH 1/2] rtc: rtc-mrst: follow on to the change ofrtc_device_register()

From: john stultz
Date: Wed Apr 06 2011 - 22:15:53 EST


On Thu, 2011-04-07 at 09:39 +0800, Feng Tang wrote:
> commit f44f7f96a20 (RTC: Initialize kernel state from RTC) will
> call rtc_read_alarm() inside rtc_device_register(), so rtc-mrst
> driver need to call dev_set_drvdata() before rtc_device_register()
> get called.
>
> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
> Cc: John Stultz <john.stultz@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx>

Thanks, I'll add this to my queue!

-john


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/