diff options
author | Lee Jones <lee.jones@linaro.org> | 2014-11-11 07:36:46 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-11-25 11:19:23 -0500 |
commit | 0e50e92669357e4702fcd6a85e2f0d6e92295664 (patch) | |
tree | 2611d5cced1bb25c0382833ebedbeefeb04a1543 | |
parent | 71d679b84ce8ca3207e547488f70c259575d2f2f (diff) |
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 <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/axp20x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { | |||
236 | }; | 236 | }; |
237 | MODULE_DEVICE_TABLE(i2c, axp20x_i2c_id); | 237 | MODULE_DEVICE_TABLE(i2c, axp20x_i2c_id); |
238 | 238 | ||
239 | static struct acpi_device_id axp20x_acpi_match[] = { | 239 | static const struct acpi_device_id axp20x_acpi_match[] = { |
240 | { | 240 | { |
241 | .id = "INT33F4", | 241 | .id = "INT33F4", |
242 | .driver_data = AXP288_ID, | 242 | .driver_data = AXP288_ID, |