mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18: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
include/linux/modem_notifier.h
Executable file
28
include/linux/modem_notifier.h
Executable file
|
@ -0,0 +1,28 @@
|
|||
/* Copyright (C) 2015 Samsung Electronics.
|
||||
*
|
||||
* This software is licensed under the terms of the GNU General Public
|
||||
* License version 2, as published by the Free Software Foundation, and
|
||||
* may be copied, distributed, and modified under those terms.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __MODEM_NOTIFIER_H__
|
||||
#define __MODEM_NOTIFIER_H__
|
||||
|
||||
/* refer to enum modem_state */
|
||||
enum modem_event {
|
||||
MODEM_EVENT_RESET = 1,
|
||||
MODEM_EVENT_EXIT,
|
||||
MODEM_EVENT_WATCHDOG = 9,
|
||||
};
|
||||
|
||||
extern int register_modem_event_notifier(struct notifier_block *nb);
|
||||
extern void modem_notify_event(enum modem_event evt);
|
||||
|
||||
#endif/*__MODEM_NOTIFIER_H__*/
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue