mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-10 09:22:44 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
23
drivers/usb/chipidea/host.h
Normal file
23
drivers/usb/chipidea/host.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
|
||||
#define __DRIVERS_USB_CHIPIDEA_HOST_H
|
||||
|
||||
#ifdef CONFIG_USB_CHIPIDEA_HOST
|
||||
|
||||
int ci_hdrc_host_init(struct ci_hdrc *ci);
|
||||
void ci_hdrc_host_destroy(struct ci_hdrc *ci);
|
||||
|
||||
#else
|
||||
|
||||
static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
|
||||
{
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */
|
Loading…
Add table
Add a link
Reference in a new issue