|
@@ -319,9 +319,9 @@ struct device_attribute {
|
|
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
|
|
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
|
|
|
|
|
|
extern int __must_check device_create_file(struct device *device,
|
|
extern int __must_check device_create_file(struct device *device,
|
|
- struct device_attribute *entry);
|
|
|
|
|
|
+ const struct device_attribute *entry);
|
|
extern void device_remove_file(struct device *dev,
|
|
extern void device_remove_file(struct device *dev,
|
|
- struct device_attribute *attr);
|
|
|
|
|
|
+ const struct device_attribute *attr);
|
|
extern int __must_check device_create_bin_file(struct device *dev,
|
|
extern int __must_check device_create_bin_file(struct device *dev,
|
|
struct bin_attribute *attr);
|
|
struct bin_attribute *attr);
|
|
extern void device_remove_bin_file(struct device *dev,
|
|
extern void device_remove_bin_file(struct device *dev,
|