* bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy

implementation of this so that grub-emu links again, with a note
that this should support hotplugging in the future.
This commit is contained in:
Colin Watson 2010-07-20 23:16:32 +01:00
parent b26f1c1160
commit c03507dfb8
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
* bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy
implementation of this so that grub-emu links again, with a note
that this should support hotplugging in the future.
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
* kern/emu/getroot.c (grub_util_get_grub_dev): Use xasprintf.

View File

@ -78,6 +78,12 @@ grub_libusb_devices (void)
return GRUB_USB_ERR_NONE;
}
void
grub_usb_poll_devices (void)
{
/* TODO: recheck grub_usb_devs */
}
int
grub_usb_iterate (int (*hook) (grub_usb_device_t dev))