diff --git a/drivers/misc/ft8xx/ft8xx.c b/drivers/misc/ft8xx/ft8xx.c index 7a3fc0754d..914a56eb5c 100644 --- a/drivers/misc/ft8xx/ft8xx.c +++ b/drivers/misc/ft8xx/ft8xx.c @@ -96,7 +96,7 @@ static bool verify_chip(void) static int ft8xx_init(const struct device *dev) { int ret; - struct ft8xx_config *config = (struct ft8xx_config *)dev->config; + const struct ft8xx_config *config = (const struct ft8xx_config *)dev->config; ret = ft8xx_drv_init(); if (ret < 0) {