diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-23 23:11:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:55 -0500 |
commit | 587a1f1659e8b330b8738ef4901832a2b63f0bed (patch) | |
tree | b785c3f44ddba6ee036e02268502cdc961f55ea0 /drivers/pci/pci-label.c | |
parent | 9104e427f3e21ddb380ddc39752624365b5bffea (diff) |
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/pci/pci-label.c')
-rw-r--r-- | drivers/pci/pci-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index 81525ae5d869..edaed6f4da6c 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c | |||
@@ -89,7 +89,7 @@ find_smbios_instance_string(struct pci_dev *pdev, char *buf, | |||
89 | return 0; | 89 | return 0; |
90 | } | 90 | } |
91 | 91 | ||
92 | static mode_t | 92 | static umode_t |
93 | smbios_instance_string_exist(struct kobject *kobj, struct attribute *attr, | 93 | smbios_instance_string_exist(struct kobject *kobj, struct attribute *attr, |
94 | int n) | 94 | int n) |
95 | { | 95 | { |
@@ -275,7 +275,7 @@ device_has_dsm(struct device *dev) | |||
275 | return FALSE; | 275 | return FALSE; |
276 | } | 276 | } |
277 | 277 | ||
278 | static mode_t | 278 | static umode_t |
279 | acpi_index_string_exist(struct kobject *kobj, struct attribute *attr, int n) | 279 | acpi_index_string_exist(struct kobject *kobj, struct attribute *attr, int n) |
280 | { | 280 | { |
281 | struct device *dev; | 281 | struct device *dev; |