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

Rafael J. Wysocki
2013-01-22T23:57:47Z

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.