diff options
Diffstat (limited to 'drivers/usb/core/sysfs.c')
| -rw-r--r-- | drivers/usb/core/sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sysfs.c index 662c0cf3a3e1..9e491ca2e5c4 100644 --- a/drivers/usb/core/sysfs.c +++ b/drivers/usb/core/sysfs.c | |||
| @@ -642,7 +642,7 @@ static struct attribute *dev_string_attrs[] = { | |||
| 642 | NULL | 642 | NULL |
| 643 | }; | 643 | }; |
| 644 | 644 | ||
| 645 | static mode_t dev_string_attrs_are_visible(struct kobject *kobj, | 645 | static umode_t dev_string_attrs_are_visible(struct kobject *kobj, |
| 646 | struct attribute *a, int n) | 646 | struct attribute *a, int n) |
| 647 | { | 647 | { |
| 648 | struct device *dev = container_of(kobj, struct device, kobj); | 648 | struct device *dev = container_of(kobj, struct device, kobj); |
| @@ -877,7 +877,7 @@ static struct attribute *intf_assoc_attrs[] = { | |||
| 877 | NULL, | 877 | NULL, |
| 878 | }; | 878 | }; |
| 879 | 879 | ||
| 880 | static mode_t intf_assoc_attrs_are_visible(struct kobject *kobj, | 880 | static umode_t intf_assoc_attrs_are_visible(struct kobject *kobj, |
| 881 | struct attribute *a, int n) | 881 | struct attribute *a, int n) |
| 882 | { | 882 | { |
| 883 | struct device *dev = container_of(kobj, struct device, kobj); | 883 | struct device *dev = container_of(kobj, struct device, kobj); |
