From: Lee Jones Date: Tue, 11 Nov 2014 12:36:46 +0000 (+0000) Subject: mfd: axp20x: Constify axp20x_acpi_match and rid unused warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0e50e92669357e4702fcd6a85e2f0d6e92295664;p=linux-beck.git mfd: axp20x: Constify axp20x_acpi_match and rid unused warning axp20x.c:239:30: warning: ‘axp20x_acpi_match’ defined but not used [-Wunused-variable] Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 971b0eb8d821..c522ee22b1c0 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -236,7 +236,7 @@ static const struct i2c_device_id axp20x_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, axp20x_i2c_id); -static struct acpi_device_id axp20x_acpi_match[] = { +static const struct acpi_device_id axp20x_acpi_match[] = { { .id = "INT33F4", .driver_data = AXP288_ID,