]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/sysfs.h
Merge remote-tracking branch 'chrome-platform/for-next'
[karo-tx-linux.git] / include / linux / sysfs.h
index 2f66050d073b2d2bcaa2e5f42816b091d54e03fd..c6f0f0d0e17e07609a8f6ae493bd71bdef093676 100644 (file)
@@ -278,6 +278,9 @@ int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
                            struct kobject *target, const char *link_name);
 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
                                  const char *link_name);
+int __compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
+                                     struct kobject *target_kobj,
+                                     const char *target_name);
 
 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
 
@@ -461,6 +464,14 @@ static inline void sysfs_remove_link_from_group(struct kobject *kobj,
 {
 }
 
+static inline int __compat_only_sysfs_link_entry_to_kobj(
+       struct kobject *kobj,
+       struct kobject *target_kobj,
+       const char *target_name)
+{
+       return 0;
+}
+
 static inline void sysfs_notify(struct kobject *kobj, const char *dir,
                                const char *attr)
 {