summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sysfs.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-26 00:57:08 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-26 13:51:00 -0800
commita8d814b5dd7a1bc5c19ae32d35b8bd4d8a510eae (patch)
tree3daf6cf8f2c578bae5fdcdde89632807ac36b624 /drivers/rtc/rtc-sysfs.c
parentbfa152fa5e4d328fe3ebf15908ee8ec20a0ce6dc (diff)
downloadop-kernel-dev-a8d814b5dd7a1bc5c19ae32d35b8bd4d8a510eae.zip
op-kernel-dev-a8d814b5dd7a1bc5c19ae32d35b8bd4d8a510eae.tar.gz
[PATCH] remove __devinit markings from rtc_sysfs_add_device()
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>
Diffstat (limited to 'drivers/rtc/rtc-sysfs.c')
-rw-r--r--drivers/rtc/rtc-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-sysfs.c b/drivers/rtc/rtc-sysfs.c
index 9418a59..2ddd0cf 100644
--- a/drivers/rtc/rtc-sysfs.c
+++ b/drivers/rtc/rtc-sysfs.c
@@ -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;
OpenPOWER on IntegriCloud