Skip to content

Commit

Permalink
usb: gadget: goku_udc: add registered flag bit, fixing build
Browse files Browse the repository at this point in the history
The commit below cleaned up error handling, in part by introducing a
registered flag bit.  This however was not added to the device
structure leding to build failures:

  commit 319feaa
  Author: Dan Carpenter <error27@gmail.com>
  Date:   Tue Oct 5 18:55:34 2010 +0200

    usb: gadget: goku_udc: Fix error path

Add the missing registered flag bit.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andy Whitcroft authored and Greg Kroah-Hartman committed Nov 11, 2010
1 parent 724c852 commit 4b4cd73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/gadget/goku_udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ struct goku_udc {
got_region:1,
req_config:1,
configured:1,
enabled:1;
enabled:1,
registered:1;

/* pci state used to access those endpoints */
struct pci_dev *pdev;
Expand Down

0 comments on commit 4b4cd73

Please sign in to comment.