]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] remove __devinit markings from rtc_sysfs_add_device()
authorMike Frysinger <vapier@gentoo.org>
Fri, 26 Jan 2007 08:57:08 +0000 (00:57 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:42 +0000 (08:31 -0800)
rtc_sysfs_add_device is needed even after dev initialization, so drop __devinit.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/rtc/rtc-sysfs.c

index 625637b84d33424be18af05530db5293b11fd3ea..767f1e9569380755284908d9c4b1fc8cf1789450 100644 (file)
@@ -78,7 +78,7 @@ static struct attribute_group rtc_attr_group = {
        .attrs = rtc_attrs,
 };
 
-static int __devinit rtc_sysfs_add_device(struct class_device *class_dev,
+static int rtc_sysfs_add_device(struct class_device *class_dev,
                                        struct class_interface *class_intf)
 {
        int err;