mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
51b751f112
Now that the SPDX tag is in all USB files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
708 B
C
24 lines
708 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright 2012 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
|
|
#define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
|
|
|
|
struct imx_usbmisc_data {
|
|
struct device *dev;
|
|
int index;
|
|
|
|
unsigned int disable_oc:1; /* over current detect disabled */
|
|
unsigned int oc_polarity:1; /* over current polarity if oc enabled */
|
|
unsigned int evdo:1; /* set external vbus divider option */
|
|
unsigned int ulpi:1; /* connected to an ULPI phy */
|
|
};
|
|
|
|
int imx_usbmisc_init(struct imx_usbmisc_data *);
|
|
int imx_usbmisc_init_post(struct imx_usbmisc_data *);
|
|
int imx_usbmisc_set_wakeup(struct imx_usbmisc_data *, bool);
|
|
|
|
#endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */
|