From 87845f3328cdd4ece2a8f1ebfcb919f5c0a88b58 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Sat, 8 Oct 2016 21:48:10 +0100 Subject: [PATCH] drivers: Make drive config info const. Finally, after numerous, preparation patches... Make a device drivers config_info structure 'const'. Change-Id: Idc4682705da18a18b694d3fb21ba6006f96ac87b Signed-off-by: Marcus Shawcroft --- include/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/device.h b/include/device.h index e63d254ed6f..ff0abd915df 100644 --- a/include/device.h +++ b/include/device.h @@ -389,7 +389,7 @@ struct device_config { int (*device_control)(struct device *device, uint32_t command, void *context); #endif - void *config_info; + const void *config_info; }; /**