From: Simon Guinot Date: Thu, 3 Apr 2014 21:49:54 +0000 (-0700) Subject: drivers/rtc/rtc-ds1307.c: fix sysfs wakealarm attribute creation X-Git-Tag: v3.15-rc1~106^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea735144dd4d2716557ff62dbcc940d62d62208;p=pandora-kernel.git drivers/rtc/rtc-ds1307.c: fix sysfs wakealarm attribute creation In order to allow the creation of the sysfs attribute wakealarm, this patch moves the device_set_wakeup_capable() call above the RTC device registration. Signed-off-by: Simon Guinot Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed