diff --git a/drivers/misc/apds9802als.c b/drivers/misc/apds9802als.c index 05ee771793cd1d38ac6062cd129ac8fb80f50f01..d8ac036f01ab7c25aea7820dd5e28a21d8c07275 100644 --- a/drivers/misc/apds9802als.c +++ b/drivers/misc/apds9802als.c @@ -298,7 +298,7 @@ static UNIVERSAL_DEV_PM_OPS(apds9802als_pm_ops, apds9802als_suspend, #define APDS9802ALS_PM_OPS NULL #endif /* CONFIG_PM */ -static struct i2c_device_id apds9802als_id[] = { +static const struct i2c_device_id apds9802als_id[] = { { DRIVER_NAME, 0 }, { } };