sysfs: sysfs_update_group stub for CONFIG_SYSFS=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 1 May 2008 11:34:43 +0000 (04:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:03:59 +0000 (08:03 -0700)
commit2850699c59d513a0cd0c68f60f75609a5f9d4d32
tree844d6cbdad1469dba7639b1106d4918d1259514b
parent34990cf702bdf2b4964e0629dab4af7669f8b2c5
sysfs: sysfs_update_group stub for CONFIG_SYSFS=n

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>
Cc: Greg KH <greg@kroah.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysfs.h