diff options
Diffstat (limited to 'drivers/usb/gadget/mv_udc.h')
-rw-r--r-- | drivers/usb/gadget/mv_udc.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/usb/gadget/mv_udc.h b/drivers/usb/gadget/mv_udc.h index 65f1f7c3bd4e..d3d26454b8bb 100644 --- a/drivers/usb/gadget/mv_udc.h +++ b/drivers/usb/gadget/mv_udc.h | |||
@@ -1,3 +1,11 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2011 Marvell International Ltd. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License as published by the | ||
6 | * Free Software Foundation; either version 2 of the License, or (at your | ||
7 | * option) any later version. | ||
8 | */ | ||
1 | 9 | ||
2 | #ifndef __MV_UDC_H | 10 | #ifndef __MV_UDC_H |
3 | #define __MV_UDC_H | 11 | #define __MV_UDC_H |
@@ -201,7 +209,12 @@ struct mv_udc { | |||
201 | remote_wakeup:1, | 209 | remote_wakeup:1, |
202 | softconnected:1, | 210 | softconnected:1, |
203 | force_fs:1; | 211 | force_fs:1; |
204 | struct clk *clk; | 212 | |
213 | struct mv_usb_platform_data *pdata; | ||
214 | |||
215 | /* some SOC has mutiple clock sources for USB*/ | ||
216 | unsigned int clknum; | ||
217 | struct clk *clk[0]; | ||
205 | }; | 218 | }; |
206 | 219 | ||
207 | /* endpoint data structure */ | 220 | /* endpoint data structure */ |
@@ -289,6 +302,4 @@ struct mv_dtd { | |||
289 | struct mv_dtd *next_dtd_virt; | 302 | struct mv_dtd *next_dtd_virt; |
290 | }; | 303 | }; |
291 | 304 | ||
292 | extern int mv_udc_phy_init(unsigned int base); | ||
293 | |||
294 | #endif | 305 | #endif |