mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
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>
This commit is contained in:
parent
71d679b84c
commit
0e50e92669
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user