* [PATCH -next 2/2] sysfs: sysfs_update_group stub for CONFIG_SYSFS=n
@ 2008-04-23 16:56 Randy Dunlap
2008-04-30 10:58 ` Denis V. Lunev
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-04-23 16:56 UTC (permalink / raw)
To: lkml, jejb; +Cc: gregkh, akpm, sfr
From: Randy Dunlap <randy.dunlap@oracle.com>
scsi_transport_spi uses sysfs_update_group() when CONFIG_SYSFS=n,
so provide a stub for it.
next-20080423/drivers/scsi/scsi_transport_spi.c:1467: error: implicit declaration of function 'sysfs_update_group'
make[3]: *** [drivers/scsi/scsi_transport_spi.o] Error 1
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
include/linux/sysfs.h | 6 ++++++
1 file changed, 6 insertions(+)
--- next-20080423.orig/include/linux/sysfs.h
+++ next-20080423/include/linux/sysfs.h
@@ -191,6 +191,12 @@ static inline int sysfs_create_group(str
return 0;
}
+static inline int sysfs_update_group(struct kobject *kobj,
+ const struct attribute_group *grp)
+{
+ return 0;
+}
+
static inline void sysfs_remove_group(struct kobject *kobj,
const struct attribute_group *grp)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next 2/2] sysfs: sysfs_update_group stub for CONFIG_SYSFS=n
2008-04-23 16:56 [PATCH -next 2/2] sysfs: sysfs_update_group stub for CONFIG_SYSFS=n Randy Dunlap
@ 2008-04-30 10:58 ` Denis V. Lunev
0 siblings, 0 replies; 2+ messages in thread
From: Denis V. Lunev @ 2008-04-30 10:58 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, jejb, gregkh, akpm, sfr
On Wed, 2008-04-23 at 09:56 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> scsi_transport_spi uses sysfs_update_group() when CONFIG_SYSFS=n,
> so provide a stub for it.
>
> next-20080423/drivers/scsi/scsi_transport_spi.c:1467: error: implicit declaration of function 'sysfs_update_group'
> make[3]: *** [drivers/scsi/scsi_transport_spi.o] Error 1
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
This patch seems lost. Current Linus GIT tree is still affected.
Regards,
Den
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-30 11:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 16:56 [PATCH -next 2/2] sysfs: sysfs_update_group stub for CONFIG_SYSFS=n Randy Dunlap
2008-04-30 10:58 ` Denis V. Lunev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox