mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
83d290c56f
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
24 lines
675 B
C
24 lines
675 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Board data structure for musb gadget on OMAPs
|
|
*
|
|
* Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_OMAP_MUSB_H
|
|
#define __ASM_ARM_OMAP_MUSB_H
|
|
|
|
extern struct musb_platform_ops musb_dsps_ops;
|
|
extern const struct musb_platform_ops am35x_ops;
|
|
extern const struct musb_platform_ops omap2430_ops;
|
|
|
|
struct omap_musb_board_data {
|
|
u8 interface_type;
|
|
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};
|
|
#endif /* __ASM_ARM_OMAP_MUSB_H */
|