drivers: misc: ft8xx: constify device config access

`const` was missing from one device config access.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-01-19 10:53:54 +01:00 committed by Carles Cufí
parent 93b3cba2f1
commit 50720eb0cb

View file

@ -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) {