drivers: Make the device struct driver_api pointer target const

Change-Id: I9e3815a0a0628171ab105fffef77a75a706ecca4
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-22 10:04:24 +01:00 committed by Anas Nashif
commit 8d6ac0d045

View file

@ -400,7 +400,7 @@ struct device_config {
*/
struct device {
struct device_config *config;
void *driver_api;
const void *driver_api;
void *driver_data;
};