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:
parent
33d17497d2
commit
8d6ac0d045
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ struct device_config {
|
|||
*/
|
||||
struct device {
|
||||
struct device_config *config;
|
||||
void *driver_api;
|
||||
const void *driver_api;
|
||||
void *driver_data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue