aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysfs.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-12-05 17:09:33 -0500
committerDave Airlie <airlied@redhat.com>2018-12-05 18:17:51 -0500
commit467e8a516dcf922d1ea343cebb0e751f81f0dca3 (patch)
treec22b6d971e922223286a4a181d6701c7d32e523d /include/linux/sysfs.h
parent818182dd1097fdc492aaef9b08755ea13274352d (diff)
parent4377d4e0d3d511986033ba7b4182d5a80b7f9ea2 (diff)
Merge tag 'drm-intel-next-2018-12-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
Final drm/i915 changes for v4.21: - ICL DSI video mode enabling (Madhav, Vandita, Jani, Imre) - eDP sink count fix (José) - PSR fixes (José) - DRM DP helper and i915 DSC enabling (Manasi, Gaurav, Anusha) - DP FEC enabling (Anusha) - SKL+ watermark/ddb programming improvements (Ville) - Pixel format fixes (Ville) - Selftest updates (Chris, Tvrtko) - GT and engine workaround improvements (Tvrtko) Signed-off-by: Dave Airlie <airlied@redhat.com> From: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/87va496uoe.fsf@intel.com
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r--include/linux/sysfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 987cefa337de..786816cf4aa5 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -234,7 +234,7 @@ int __must_check sysfs_create_file_ns(struct kobject *kobj,
234 const struct attribute *attr, 234 const struct attribute *attr,
235 const void *ns); 235 const void *ns);
236int __must_check sysfs_create_files(struct kobject *kobj, 236int __must_check sysfs_create_files(struct kobject *kobj,
237 const struct attribute **attr); 237 const struct attribute * const *attr);
238int __must_check sysfs_chmod_file(struct kobject *kobj, 238int __must_check sysfs_chmod_file(struct kobject *kobj,
239 const struct attribute *attr, umode_t mode); 239 const struct attribute *attr, umode_t mode);
240struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, 240struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
@@ -243,7 +243,7 @@ void sysfs_unbreak_active_protection(struct kernfs_node *kn);
243void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, 243void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
244 const void *ns); 244 const void *ns);
245bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr); 245bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
246void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr); 246void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
247 247
248int __must_check sysfs_create_bin_file(struct kobject *kobj, 248int __must_check sysfs_create_bin_file(struct kobject *kobj,
249 const struct bin_attribute *attr); 249 const struct bin_attribute *attr);
@@ -342,7 +342,7 @@ static inline int sysfs_create_file_ns(struct kobject *kobj,
342} 342}
343 343
344static inline int sysfs_create_files(struct kobject *kobj, 344static inline int sysfs_create_files(struct kobject *kobj,
345 const struct attribute **attr) 345 const struct attribute * const *attr)
346{ 346{
347 return 0; 347 return 0;
348} 348}
@@ -377,7 +377,7 @@ static inline bool sysfs_remove_file_self(struct kobject *kobj,
377} 377}
378 378
379static inline void sysfs_remove_files(struct kobject *kobj, 379static inline void sysfs_remove_files(struct kobject *kobj,
380 const struct attribute **attr) 380 const struct attribute * const *attr)
381{ 381{
382} 382}
383 383