mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
28
drivers/usb/notify/usb_notifier.h
Executable file
28
drivers/usb/notify/usb_notifier.h
Executable file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* Copyright (C) 2014 Samsung Electronics Co. Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
#ifndef __LINUX_USB_NOTIFIER_H__
|
||||
#define __LINUX_USB_NOTIFIER_H__
|
||||
|
||||
#ifdef CONFIG_USB_DWC3
|
||||
extern int dwc3_exynos_id_event(struct device *dev, int state);
|
||||
extern int dwc3_exynos_vbus_event(struct device *dev, int state);
|
||||
#else
|
||||
static inline int dwc3_exynos_id_event
|
||||
(struct device *dev, int state) {return 0; }
|
||||
static inline int dwc3_exynos_vbus_event
|
||||
(struct device *dev, int state) {return 0; }
|
||||
#endif
|
||||
#ifdef CONFIG_USB_S3C_OTGD
|
||||
extern int exynos_otg_vbus_event(struct platform_device *pdev, int state);
|
||||
#else
|
||||
static inline int exynos_otg_vbus_event(
|
||||
struct platform_device *pdev, int state) {return 0; }
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue