Constify structs which can be const.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@519 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
5ff0fdb354
commit
497cdb7484
15 changed files with 23 additions and 27 deletions
|
|
@ -270,7 +270,7 @@ void default_device_constructor(struct device *dev, struct constructor *construc
|
|||
resource_t align_up(resource_t val, unsigned long gran);
|
||||
resource_t align_down(resource_t val, unsigned long gran);
|
||||
|
||||
extern struct device_operations default_dev_ops_root;
|
||||
extern const 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