Simple fix for a simple warning.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@236 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
bd5ca845e9
commit
0f9ac8eb8b
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ void stage1_main(u32 bist)
|
|||
int elfboot_mem(struct lb_memory *mem, void *where, int size);
|
||||
|
||||
/* we can't statically init this hack. */
|
||||
unsigned char *faker[64];
|
||||
struct lb_memory *mem = (struct lb_memory*) &faker;
|
||||
unsigned char faker[64];
|
||||
struct lb_memory *mem = (struct lb_memory*) faker;
|
||||
|
||||
mem->tag = LB_TAG_MEMORY;
|
||||
mem->size = 28;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue