Commit e8363f33 authored by Len Brown's avatar Len Brown

ACPI: update acpi_power_resume() per new acpi_op_resume

drivers/acpi/power.c:69: warning: initialization from incompatible pointer type
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 0a613902
...@@ -57,7 +57,7 @@ ACPI_MODULE_NAME("acpi_power") ...@@ -57,7 +57,7 @@ ACPI_MODULE_NAME("acpi_power")
#define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF #define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF
static int acpi_power_add(struct acpi_device *device); static int acpi_power_add(struct acpi_device *device);
static int acpi_power_remove(struct acpi_device *device, int type); static int acpi_power_remove(struct acpi_device *device, int type);
static int acpi_power_resume(struct acpi_device *device, int state); static int acpi_power_resume(struct acpi_device *device);
static int acpi_power_open_fs(struct inode *inode, struct file *file); static int acpi_power_open_fs(struct inode *inode, struct file *file);
static struct acpi_driver acpi_power_driver = { static struct acpi_driver acpi_power_driver = {
...@@ -668,7 +668,7 @@ static int acpi_power_remove(struct acpi_device *device, int type) ...@@ -668,7 +668,7 @@ static int acpi_power_remove(struct acpi_device *device, int type)
return 0; return 0;
} }
static int acpi_power_resume(struct acpi_device *device, int state) static int acpi_power_resume(struct acpi_device *device)
{ {
int result = 0; int result = 0;
struct acpi_power_resource *resource = NULL; struct acpi_power_resource *resource = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment