]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sysfs.h
sdhci: use PIO when DMA can't satisfy the request
[linux-2.6-omap-h63xx.git] / include / linux / sysfs.h
index b393bb44962430b71f34e52f7414cd2b9f1c9794..149ab62329e238aab4ce518c41e4070764a8d32d 100644 (file)
@@ -3,6 +3,8 @@
  *
  * Copyright (c) 2001,2002 Patrick Mochel
  * Copyright (c) 2004 Silicon Graphics, Inc.
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
  *
  * Please see Documentation/filesystems/sysfs.txt for more information.
  */
@@ -87,8 +89,6 @@ int __must_check sysfs_move_dir(struct kobject *kobj,
 
 int __must_check sysfs_create_file(struct kobject *kobj,
                                   const struct attribute *attr);
-int __must_check sysfs_update_file(struct kobject *kobj,
-                                  const struct attribute *attr);
 int __must_check sysfs_chmod_file(struct kobject *kobj, struct attribute *attr,
                                  mode_t mode);
 void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr);
@@ -149,11 +149,6 @@ static inline int sysfs_create_file(struct kobject *kobj,
        return 0;
 }
 
-static inline int sysfs_update_file(struct kobject *kobj,
-                                   const struct attribute *attr)
-{
-       return 0;
-}
 static inline int sysfs_chmod_file(struct kobject *kobj,
                                   struct attribute *attr, mode_t mode)
 {