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:
Stefan Reinauer 2008-04-04 03:46:39 +00:00
parent a8b10df926
commit e21bb40244
2 changed files with 2 additions and 2 deletions

View file

@ -216,7 +216,7 @@ void root_dev_reset(struct bus *bus)
* own ops in (e.g.) the mainboard, and initialize it in the dts in the
* mainboard directory.
*/
const struct device_operations default_dev_ops_root = {
struct device_operations default_dev_ops_root = {
.phase4_read_resources = root_dev_read_resources,
.phase4_set_resources = root_dev_set_resources,
.phase5_enable_resources = root_dev_enable_resources,

View file

@ -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);