remove const from default root ops. device ops can not be const because they're
changed during run time. (trivial patch) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@651 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
a8b10df926
commit
e21bb40244
2 changed files with 2 additions and 2 deletions
|
|
@ -283,7 +283,7 @@ void default_device_constructor(struct device *dev, struct device_operations *co
|
|||
resource_t align_up(resource_t val, unsigned long gran);
|
||||
resource_t align_down(resource_t val, unsigned long gran);
|
||||
|
||||
extern const struct device_operations default_dev_ops_root;
|
||||
extern struct device_operations default_dev_ops_root;
|
||||
|
||||
extern int id_eq(struct device_id *id1, struct device_id *id2);
|
||||
void root_dev_read_resources(struct device * dev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue