summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/ideapad-laptop.c
diff options
context:
space:
mode:
authorAl Viro2011-07-24 05:11:19 +0200
committerAl Viro2012-01-04 04:54:55 +0100
commit587a1f1659e8b330b8738ef4901832a2b63f0bed (patch)
treeb785c3f44ddba6ee036e02268502cdc961f55ea0 /drivers/platform/x86/ideapad-laptop.c
parentswitch sysfs attr->mode to umode_t (diff)
downloadkernel-qcow2-linux-587a1f1659e8b330b8738ef4901832a2b63f0bed.tar.gz
kernel-qcow2-linux-587a1f1659e8b330b8738ef4901832a2b63f0bed.tar.xz
kernel-qcow2-linux-587a1f1659e8b330b8738ef4901832a2b63f0bed.zip
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/platform/x86/ideapad-laptop.c')
-rw-r--r--drivers/platform/x86/ideapad-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index a36addf106a0..ac902f7a9baa 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -368,7 +368,7 @@ static struct attribute *ideapad_attributes[] = {
NULL
};
-static mode_t ideapad_is_visible(struct kobject *kobj,
+static umode_t ideapad_is_visible(struct kobject *kobj,
struct attribute *attr,
int idx)
{