projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d679b
)
mfd: axp20x: Constify axp20x_acpi_match and rid unused warning
author
Lee Jones
<lee.jones@linaro.org>
Tue, 11 Nov 2014 12:36:46 +0000
(12:36 +0000)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 25 Nov 2014 16:19:23 +0000
(16:19 +0000)
axp20x.c:239:30:
warning: ‘axp20x_acpi_match’ defined but not used [-Wunused-variable]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/axp20x.c
b/drivers/mfd/axp20x.c
index 971b0eb8d82103f37729b379a170f93553affde4..c522ee22b1c05eb7530e6e288ed4f5bf9589cfb8 100644
(file)
--- 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,