minor changes to remove a warning here. (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@504 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
a2b318b2c4
commit
9e4a632f6e
1 changed files with 3 additions and 2 deletions
|
|
@ -394,13 +394,14 @@ static struct lb_memory *build_lb_mem(struct lb_header *head)
|
|||
struct lb_devtree *lb_devtree(struct lb_header *head)
|
||||
{
|
||||
struct lb_devtree *lbdev = NULL;
|
||||
struct device *dev = NULL;
|
||||
|
||||
lbdev = (struct lb_devtree *)lb_new_record(head);
|
||||
lbdev->tag = LB_TAG_DEVTREE_PTR;
|
||||
lbdev->size = sizeof(*lbdev);
|
||||
lbdev->dev_root_ptr = &dev_root;
|
||||
lbdev->dev_root_ptr = (u32)&dev_root; // XXX ouch.
|
||||
|
||||
// FIXME we should either copy the device tree completely
|
||||
// or at least mark it reserved.
|
||||
return lbdev;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue