diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2016-10-22 10:04:24 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-25 18:45:09 +0000 |
commit | 8d6ac0d04531111065c501932415484abd986d0a (patch) | |
tree | bbaa1cf41ed0c97481cc4dfe9418234fa633744d /include | |
parent | 33d17497d20e06837bf7632bc88a7c27d465c674 (diff) |
drivers: Make the device struct driver_api pointer target const
Change-Id: I9e3815a0a0628171ab105fffef77a75a706ecca4
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/device.h b/include/device.h index 1870b820a..371087a54 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; }; |