From: Josh Cartwright Date: Thu, 3 Apr 2014 21:50:14 +0000 (-0700) Subject: rtc: pm8xxx: move device_init_wakeup() before rtc_register X-Git-Tag: v3.15-rc1~106^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda9909ddaab13fb7b35b94f204623c1f9571fc7;p=pandora-kernel.git rtc: pm8xxx: move device_init_wakeup() before rtc_register Setup wakeup capability before rtc_register to ensure the rtc class core properly sets up our 'wakealarm' sysfs attribute. Signed-off-by: Josh Cartwright Reviewed-by: Stephen Boyd Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed