From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups Date: Tue, 22 Jan 2013 15:51:01 -0800 Message-ID: <20130122235101.GE694@kroah.com> References: <3307415.pdOY6ovZLa@vostro.rjw.lan> <4247313.2G7Z3nCgM0@vostro.rjw.lan> <2760421.6nE3tkh92K@vostro.rjw.lan> <3401016.osGyQ9N4xP@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pb0-f42.google.com ([209.85.160.42]:54985 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752361Ab3AVXvF (ORCPT ); Tue, 22 Jan 2013 18:51:05 -0500 Received: by mail-pb0-f42.google.com with SMTP id rp2so4293842pbb.15 for ; Tue, 22 Jan 2013 15:51:04 -0800 (PST) Content-Disposition: inline In-Reply-To: <3401016.osGyQ9N4xP@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , LKML , "Kristen C. Accardi" , Len Brown 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