aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/eeepc-wmi.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-11-03 11:14:01 -0700
committerMatthew Garrett <mjg@redhat.com>2010-11-24 12:00:09 -0500
commit67fa38ec097a3e270ab175636338185017b49fa7 (patch)
tree9860284c8bc5c284f488421859b6cfdfafd46207 /drivers/platform/x86/eeepc-wmi.c
parent1d37db77c1aa199ae9a4114af7c0412c8417e949 (diff)
downloadkernel_samsung_smdk4412-67fa38ec097a3e270ab175636338185017b49fa7.zip
kernel_samsung_smdk4412-67fa38ec097a3e270ab175636338185017b49fa7.tar.gz
kernel_samsung_smdk4412-67fa38ec097a3e270ab175636338185017b49fa7.tar.bz2
eeepc-wmi: fix compiler warning
This fixes the following: CC [M] drivers/platform/x86/eeepc-wmi.o drivers/platform/x86/eeepc-wmi.c:322: warning: initialization from incompatible pointer type Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/eeepc-wmi.c')
-rw-r--r--drivers/platform/x86/eeepc-wmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
index 462ceab..0d50fbb 100644
--- a/drivers/platform/x86/eeepc-wmi.c
+++ b/drivers/platform/x86/eeepc-wmi.c
@@ -298,8 +298,8 @@ static void eeepc_wmi_notify(u32 value, void *context)
kfree(obj);
}
-static int store_cpufv(struct device *dev, struct device_attribute *attr,
- const char *buf, size_t count)
+static ssize_t store_cpufv(struct device *dev, struct device_attribute *attr,
+ const char *buf, size_t count)
{
int value;
struct acpi_buffer input = { (acpi_size)sizeof(value), &value };