diff options
author | Len Brown <len.brown@intel.com> | 2007-02-16 02:05:39 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-16 02:05:39 -0500 |
commit | e8363f332757ac22395fb120cc33b3262f9ee26c (patch) | |
tree | d9f5b60781100158f831a83869bc81137a706c52 | |
parent | 0a6139027f3986162233adc17285151e78b39cac (diff) |
ACPI: update acpi_power_resume() per new acpi_op_resume
drivers/acpi/power.c:69: warning: initialization from incompatible pointer type
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/acpi/power.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 784cbdb1084b..e768eb362932 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c | |||
@@ -57,7 +57,7 @@ ACPI_MODULE_NAME("acpi_power") | |||
57 | #define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF | 57 | #define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF |
58 | static int acpi_power_add(struct acpi_device *device); | 58 | static int acpi_power_add(struct acpi_device *device); |
59 | static int acpi_power_remove(struct acpi_device *device, int type); | 59 | static int acpi_power_remove(struct acpi_device *device, int type); |
60 | static int acpi_power_resume(struct acpi_device *device, int state); | 60 | static int acpi_power_resume(struct acpi_device *device); |
61 | static int acpi_power_open_fs(struct inode *inode, struct file *file); | 61 | static int acpi_power_open_fs(struct inode *inode, struct file *file); |
62 | 62 | ||
63 | static struct acpi_driver acpi_power_driver = { | 63 | static struct acpi_driver acpi_power_driver = { |
@@ -668,7 +668,7 @@ static int acpi_power_remove(struct acpi_device *device, int type) | |||
668 | return 0; | 668 | return 0; |
669 | } | 669 | } |
670 | 670 | ||
671 | static int acpi_power_resume(struct acpi_device *device, int state) | 671 | static int acpi_power_resume(struct acpi_device *device) |
672 | { | 672 | { |
673 | int result = 0; | 673 | int result = 0; |
674 | struct acpi_power_resource *resource = NULL; | 674 | struct acpi_power_resource *resource = NULL; |