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

From: Greg Kroah-Hartman
Date: Tue Jan 22 2013 - 18:50:57 EST


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.

thanks,

greg k-h
--
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/