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
659 B
C
24 lines
659 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2013-2014 Freescale Semiconductor, Inc.
|
|
*
|
|
* Author: Peter Chen
|
|
*/
|
|
|
|
#ifndef __DRIVERS_USB_CHIPIDEA_OTG_H
|
|
#define __DRIVERS_USB_CHIPIDEA_OTG_H
|
|
|
|
u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask);
|
|
void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data);
|
|
int ci_hdrc_otg_init(struct ci_hdrc *ci);
|
|
void ci_hdrc_otg_destroy(struct ci_hdrc *ci);
|
|
enum ci_role ci_otg_role(struct ci_hdrc *ci);
|
|
void ci_handle_vbus_change(struct ci_hdrc *ci);
|
|
static inline void ci_otg_queue_work(struct ci_hdrc *ci)
|
|
{
|
|
disable_irq_nosync(ci->irq);
|
|
queue_work(ci->wq, &ci->work);
|
|
}
|
|
|
|
#endif /* __DRIVERS_USB_CHIPIDEA_OTG_H */
|