Make some structures and the argument of the function intel_pmic_install_opregion_handler as const. After this change, make the structures of type intel_pmic_opregion_data as const. Bhumika Goyal (2): ACPI / PMIC: Make some pointers, structure field and function argument as const ACPI / PMIC: make intel_pmic_opregion_data structures const drivers/acpi/pmic/intel_pmic.c | 10 +++++----- drivers/acpi/pmic/intel_pmic.h | 4 +++- drivers/acpi/pmic/intel_pmic_bxtwc.c | 2 +- drivers/acpi/pmic/intel_pmic_chtwc.c | 2 +- drivers/acpi/pmic/intel_pmic_crc.c | 2 +- drivers/acpi/pmic/intel_pmic_xpower.c | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html