]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/omap_musb.h
Merge git://git.denx.de/u-boot-x86
[u-boot] / arch / arm / include / asm / omap_musb.h
index b04d8650ef8486fd0b5cbf757f162a20b075b6f2..7c5fb4077443a8f84e4e610ea89c27247f4a03cb 100644 (file)
@@ -3,15 +3,7 @@
  *
  * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE.  See the
- * GNU General Public License for more details.
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_ARM_OMAP_MUSB_H
@@ -23,9 +15,10 @@ extern const struct musb_platform_ops omap2430_ops;
 
 struct omap_musb_board_data {
        u8 interface_type;
-       void (*set_phy_power)(u8 on);
-       void (*clear_irq)(void);
-       void (*reset)(void);
+       struct udevice *dev;
+       void (*set_phy_power)(struct udevice *dev, u8 on);
+       void (*clear_irq)(struct udevice *dev);
+       void (*reset)(struct udevice *dev);
 };
 
 enum musb_interface    {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};