diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 17:11:44 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 21:11:31 +0200 |
commit | 6166c24669678662547bb4e5dbd6a810268b8b7b (patch) | |
tree | 2fc25cff5a7a5719801d02b6c554ba6d527b7539 /drivers/usb/gadget/pxa25x_udc.h | |
parent | 1fb3b1cffc58a82c3887c5101b496771e106e913 (diff) | |
download | op-kernel-dev-6166c24669678662547bb4e5dbd6a810268b8b7b.zip op-kernel-dev-6166c24669678662547bb4e5dbd6a810268b8b7b.tar.gz |
usb: gadget: pxa25x_udc: convert to udc_start/udc_stop
Mechanical change making use of the new (can we
still call it new ?) interface for registering
UDC drivers.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/pxa25x_udc.h')
-rw-r--r-- | drivers/usb/gadget/pxa25x_udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/pxa25x_udc.h b/drivers/usb/gadget/pxa25x_udc.h index 2eca1e7..3fe5931 100644 --- a/drivers/usb/gadget/pxa25x_udc.h +++ b/drivers/usb/gadget/pxa25x_udc.h @@ -126,6 +126,7 @@ struct pxa25x_udc { struct dentry *debugfs_udc; #endif }; +#define to_pxa25x(g) (container_of((g), struct pxa25x_udc, gadget)) /*-------------------------------------------------------------------------*/ |