mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
[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>
This commit is contained in:
parent
bfa152fa5e
commit
a8d814b5dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user