phy-generic.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | phy-generic.h (b267ddf6a5abecad100e7139617ffb12415f9156) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _PHY_GENERIC_H_ 3#define _PHY_GENERIC_H_ 4 5#include <linux/usb/usb_phy_generic.h> 6#include <linux/gpio/consumer.h> 7#include <linux/regulator/consumer.h> 8 --- 8 unchanged lines hidden (view full) --- 17 bool vbus_draw_enabled; 18 unsigned long mA; 19 unsigned int vbus; 20}; 21 22int usb_gen_phy_init(struct usb_phy *phy); 23void usb_gen_phy_shutdown(struct usb_phy *phy); 24 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _PHY_GENERIC_H_ 3#define _PHY_GENERIC_H_ 4 5#include <linux/usb/usb_phy_generic.h> 6#include <linux/gpio/consumer.h> 7#include <linux/regulator/consumer.h> 8 --- 8 unchanged lines hidden (view full) --- 17 bool vbus_draw_enabled; 18 unsigned long mA; 19 unsigned int vbus; 20}; 21 22int usb_gen_phy_init(struct usb_phy *phy); 23void usb_gen_phy_shutdown(struct usb_phy *phy); 24 |
25int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop, 26 struct usb_phy_generic_platform_data *pdata); | 25int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop); |
27 28#endif | 26 27#endif |