Re: [PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

From: Rafael J. Wysocki
Date: Tue Jan 22 2013 - 18:57:31 EST


On Tuesday, January 22, 2013 03:51:01 PM Greg Kroah-Hartman wrote:
> On Tue, Jan 22, 2013 at 03:27:12AM +0100, Rafael J. Wysocki wrote:
> > --- linux-pm.orig/include/linux/sysfs.h
> > +++ linux-pm/include/linux/sysfs.h
> > @@ -154,6 +154,8 @@ int __must_check sysfs_create_bin_file(s
> > void sysfs_remove_bin_file(struct kobject *kobj,
> > const struct bin_attribute *attr);
> >
> > +int sysfs_create_link_sd(struct sysfs_dirent *sd, struct kobject *target,
> > + const char *name);
>
> This should go into fs/sysfs/sysfs.h not include/linux/sysfs.h as it's
> an "internal" sysfs function.

Damn, right. Will fix.

Thanks,
Rafael


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/