diff options
Diffstat (limited to 'drivers/pci/slot.c')
-rw-r--r-- | drivers/pci/slot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c index 7dd62fa9d0bd..396c200b9ddb 100644 --- a/drivers/pci/slot.c +++ b/drivers/pci/slot.c | |||
@@ -116,11 +116,11 @@ static void pci_slot_release(struct kobject *kobj) | |||
116 | } | 116 | } |
117 | 117 | ||
118 | static struct pci_slot_attribute pci_slot_attr_address = | 118 | static struct pci_slot_attribute pci_slot_attr_address = |
119 | __ATTR(address, (S_IFREG | S_IRUGO), address_read_file, NULL); | 119 | __ATTR(address, S_IRUGO, address_read_file, NULL); |
120 | static struct pci_slot_attribute pci_slot_attr_max_speed = | 120 | static struct pci_slot_attribute pci_slot_attr_max_speed = |
121 | __ATTR(max_bus_speed, (S_IFREG | S_IRUGO), max_speed_read_file, NULL); | 121 | __ATTR(max_bus_speed, S_IRUGO, max_speed_read_file, NULL); |
122 | static struct pci_slot_attribute pci_slot_attr_cur_speed = | 122 | static struct pci_slot_attribute pci_slot_attr_cur_speed = |
123 | __ATTR(cur_bus_speed, (S_IFREG | S_IRUGO), cur_speed_read_file, NULL); | 123 | __ATTR(cur_bus_speed, S_IRUGO, cur_speed_read_file, NULL); |
124 | 124 | ||
125 | static struct attribute *pci_slot_default_attrs[] = { | 125 | static struct attribute *pci_slot_default_attrs[] = { |
126 | &pci_slot_attr_address.attr, | 126 | &pci_slot_attr_address.attr, |