mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 16:18: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
				
			
		
							
								
								
									
										35
									
								
								arch/sh/include/asm/hw_irq.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								arch/sh/include/asm/hw_irq.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,35 @@ | |||
| #ifndef __ASM_SH_HW_IRQ_H | ||||
| #define __ASM_SH_HW_IRQ_H | ||||
| 
 | ||||
| #include <linux/init.h> | ||||
| #include <linux/sh_intc.h> | ||||
| #include <linux/atomic.h> | ||||
| 
 | ||||
| extern atomic_t irq_err_count; | ||||
| 
 | ||||
| struct ipr_data { | ||||
| 	unsigned char irq; | ||||
| 	unsigned char ipr_idx;		/* Index for the IPR registered */ | ||||
| 	unsigned char shift;		/* Number of bits to shift the data */ | ||||
| 	unsigned char priority;		/* The priority */ | ||||
| }; | ||||
| 
 | ||||
| struct ipr_desc { | ||||
| 	unsigned long *ipr_offsets; | ||||
| 	unsigned int nr_offsets; | ||||
| 	struct ipr_data *ipr_data; | ||||
| 	unsigned int nr_irqs; | ||||
| 	struct irq_chip chip; | ||||
| }; | ||||
| 
 | ||||
| void register_ipr_controller(struct ipr_desc *); | ||||
| 
 | ||||
| void __init plat_irq_setup(void); | ||||
| void __init plat_irq_setup_sh3(void); | ||||
| void __init plat_irq_setup_pins(int mode); | ||||
| 
 | ||||
| enum { IRQ_MODE_IRQ, IRQ_MODE_IRQ7654, IRQ_MODE_IRQ3210, | ||||
|        IRQ_MODE_IRL7654_MASK, IRQ_MODE_IRL3210_MASK, | ||||
|        IRQ_MODE_IRL7654, IRQ_MODE_IRL3210 }; | ||||
| 
 | ||||
| #endif /* __ASM_SH_HW_IRQ_H */ | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228