summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAl Viro2011-07-24 05:10:46 +0200
committerAl Viro2012-01-04 04:54:55 +0100
commit9104e427f3e21ddb380ddc39752624365b5bffea (patch)
tree53d97658009c90e83bf6cf6502f621c5a940b363 /drivers/platform
parentswitch device_get_devnode() and ->devnode() to umode_t * (diff)
downloadkernel-qcow2-linux-9104e427f3e21ddb380ddc39752624365b5bffea.tar.gz
kernel-qcow2-linux-9104e427f3e21ddb380ddc39752624365b5bffea.tar.xz
kernel-qcow2-linux-9104e427f3e21ddb380ddc39752624365b5bffea.zip
switch sysfs attr->mode to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/intel_menlow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c
index abddc83e9fd7..3271ac85115e 100644
--- a/drivers/platform/x86/intel_menlow.c
+++ b/drivers/platform/x86/intel_menlow.c
@@ -389,7 +389,7 @@ static ssize_t bios_enabled_show(struct device *dev,
return sprintf(buf, "%s\n", bios_enabled ? "enabled" : "disabled");
}
-static int intel_menlow_add_one_attribute(char *name, int mode, void *show,
+static int intel_menlow_add_one_attribute(char *name, umode_t mode, void *show,
void *store, struct device *dev,
acpi_handle handle)
{