~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to grub-core/bus/usb/usbhub.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-05-17 23:59:10 UTC
  • mto: (17.3.55 sid)
  • mto: This revision was merged to the branch mainline in revision 122.
  • Revision ID: james.westby@ubuntu.com-20110517235910-ma8u889vyjdfro27
Tags: upstream-1.99
ImportĀ upstreamĀ versionĀ 1.99

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  grub_usb_device_t dev;
40
40
};
41
41
 
42
 
struct grub_usb_hub *hubs;
 
42
static struct grub_usb_hub *hubs;
43
43
 
44
44
/* Add a device that currently has device number 0 and resides on
45
45
   CONTROLLER, the Hub reported that the device speed is SPEED.  */
110
110
grub_usb_add_hub (grub_usb_device_t dev)
111
111
{
112
112
  struct grub_usb_usb_hubdesc hubdesc;
113
 
  grub_err_t err;
 
113
  grub_usb_err_t err;
114
114
  int i;
115
115
  
116
116
  err = grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_IN