* include/grub/usb.h (grub_usb_controller_dev): Make portstatus

return grub_usb_err_t for cosistency. All users updated.
This commit is contained in:
Vladimir Serbinenko 2013-11-07 00:35:56 +01:00
parent 5701750c2c
commit dac6ce73be
6 changed files with 25 additions and 27 deletions

View file

@ -116,8 +116,8 @@ struct grub_usb_controller_dev
int (*hubports) (grub_usb_controller_t dev);
grub_err_t (*portstatus) (grub_usb_controller_t dev, unsigned int port,
unsigned int enable);
grub_usb_err_t (*portstatus) (grub_usb_controller_t dev, unsigned int port,
unsigned int enable);
grub_usb_speed_t (*detect_dev) (grub_usb_controller_t dev, int port, int *changed);