mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 08:08:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										31
									
								
								drivers/misc/samsung/scsc/srvman.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								drivers/misc/samsung/scsc/srvman.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,31 @@ | |||
| /****************************************************************************
 | ||||
|  * | ||||
|  * Copyright (c) 2014 - 2016 Samsung Electronics Co., Ltd. All rights reserved | ||||
|  * | ||||
|  ****************************************************************************/ | ||||
| 
 | ||||
| #ifndef _SRVMAN_H | ||||
| #define _SRVMAN_H | ||||
| 
 | ||||
| #include <linux/wakelock.h> | ||||
| 
 | ||||
| struct srvman; | ||||
| 
 | ||||
| void srvman_init(struct srvman *srvman, struct scsc_mx *mx); | ||||
| void srvman_freeze_services(struct srvman *srvman); | ||||
| void srvman_unfreeze_services(struct srvman *srvman, u16 scsc_panic_code); | ||||
| void srvman_set_error(struct srvman *srvman); | ||||
| void srvman_clear_error(struct srvman *srvman); | ||||
| void srvman_deinit(struct srvman *srvman); | ||||
| 
 | ||||
| struct srvman { | ||||
| 	struct scsc_mx   *mx; | ||||
| 	struct list_head service_list; | ||||
| 	struct mutex     service_list_mutex; | ||||
| 	struct mutex     api_access_mutex; | ||||
| 	bool             error; | ||||
| 	struct wake_lock sm_wake_lock; | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
| #endif | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228