projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f812338
)
leds-hp-disk: fix build warning
author
Len Brown
<len.brown@intel.com>
Sat, 25 Oct 2008 07:52:16 +0000
(
03:52
-0400)
committer
Len Brown
<len.brown@intel.com>
Sat, 25 Oct 2008 08:07:14 +0000
(
04:07
-0400)
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>
drivers/leds/leds-hp-disk.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-hp-disk.c
b/drivers/leds/leds-hp-disk.c
index
53a25b1
..
74645ab
100644
(file)
--- 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 };