initial import
[patches.git] / linux-rtc-sysfs-no-devinit-add.patch
CommitLineData
5e993f12 1rtc_sysfs_add_device is needed even after dev initialization, so drop __devinit.
2
3Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4
5diff --git a/drivers/rtc/rtc-sysfs.c b/drivers/rtc/rtc-sysfs.c
6index 9418a59..2ddd0cf 100644
7--- a/drivers/rtc/rtc-sysfs.c
8+++ b/drivers/rtc/rtc-sysfs.c
9@@ -78,7 +78,7 @@ static struct attribute_group rtc_attr_group = {
10 .attrs = rtc_attrs,
11 };
12
13-static int __devinit rtc_sysfs_add_device(struct class_device *class_dev,
14+static int rtc_sysfs_add_device(struct class_device *class_dev,
15 struct class_interface *class_intf)
16 {
17 int err;