aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-25 03:52:16 -0400
committerLen Brown <len.brown@intel.com>2008-10-25 04:07:14 -0400
commit438f8de46bc261b35d84771ae9992cfff3ff4dd8 (patch)
treec693e9a954f3480897a391cfa1ecffafd770d50b
parentf8123381bae8d581d81f24b55719db3d9a6a262c (diff)
leds-hp-disk: fix build warning
drivers/leds/leds-hp-disk.c:59: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/leds/leds-hp-disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-hp-disk.c b/drivers/leds/leds-hp-disk.c
index 53a25b1c2da..74645ab1566 100644
--- a/drivers/leds/leds-hp-disk.c
+++ b/drivers/leds/leds-hp-disk.c
@@ -49,7 +49,7 @@ static struct acpi_hpled adev;
static acpi_status hpled_acpi_write(acpi_handle handle, int reg)
{
- unsigned long ret; /* Not used when writing */
+ unsigned long long ret; /* Not used when writing */
union acpi_object in_obj[1];
struct acpi_object_list args = { 1, in_obj };