acpi_op_resume doesn't have the state parameter anymore, see commit 5d9464a46918ced087c351a10f38cee95725f85b in Linux 2.6.21 Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com> --- dkms-pcc-acpi-0.9/pcc_acpi.c.orig 2008-03-23 21:09:54.000000000 -0300 +++ dkms-pcc-acpi-0.9/pcc_acpi.c 2008-03-23 21:18:16.000000000 -0300 @@ -211,7 +211,7 @@ enum SINF_BITS { SINF_NUM_BATTERIES = 0, static int acpi_pcc_hotkey_add(struct acpi_device *device); static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type); -static int acpi_pcc_hotkey_resume(struct acpi_device *device, int state); +static int acpi_pcc_hotkey_resume(struct acpi_device *device); const static struct acpi_device_id pcc_device_ids[] = { {"MAT0012", 0}, @@ -841,7 +841,7 @@ static int acpi_pcc_init_input(struct ac module init -------------------------------------------------------------------------- */ -static int acpi_pcc_hotkey_resume(struct acpi_device *device, int state) +static int acpi_pcc_hotkey_resume(struct acpi_device *device) { struct acpi_hotkey *hotkey = acpi_driver_data(device); acpi_status status = AE_OK;