Update according to the change of struct uboot_devdesc.
This commit is contained in:
parent
9efbc4f52e
commit
60dff4f9f8
@ -185,7 +185,7 @@ main(void)
|
||||
if (strncmp(devsw[i]->dv_name, "disk",
|
||||
strlen(devsw[i]->dv_name)) == 0) {
|
||||
f.f_devdata = &currdev;
|
||||
currdev.d_disk.pnum = 0;
|
||||
currdev.d_disk.slice = 0;
|
||||
if (devsw[i]->dv_open(&f,&currdev) == 0)
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user