Simplify disk opening
This commit is contained in:
parent
00542307eb
commit
0044d1db2e
15 changed files with 29 additions and 49 deletions
|
@ -58,8 +58,7 @@ grub_nand_read (grub_disk_t disk, grub_disk_addr_t sector,
|
|||
grub_size_t size, char *buf);
|
||||
|
||||
static grub_err_t
|
||||
grub_nand_open (const char *name, grub_disk_t disk,
|
||||
grub_disk_pull_t pull __attribute__ ((unused)))
|
||||
grub_nand_open (const char *name, grub_disk_t disk)
|
||||
{
|
||||
grub_ieee1275_ihandle_t dev_ihandle = 0;
|
||||
struct grub_nand_data *data = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue