diff --git a/include/device.h b/include/device.h index 1870b820af3..371087a54b2 100644 --- a/include/device.h +++ b/include/device.h @@ -400,7 +400,7 @@ struct device_config { */ struct device { struct device_config *config; - void *driver_api; + const void *driver_api; void *driver_data; };