Input: i8042 - non-x86 build fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
		
					parent
					
						
							
								cec69c376b
							
						
					
				
			
			
				commit
				
					
						c18bab80d1
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1172,14 +1172,14 @@ static int __devinit i8042_probe(struct platform_device *dev) | |||
| 		if (error) | ||||
| 			goto out_fail; | ||||
| 	} | ||||
| 
 | ||||
| #ifdef CONFIG_X86 | ||||
| 	if (i8042_dritek) { | ||||
| 		param = 0x90; | ||||
| 		error = i8042_command(¶m, 0x1059); | ||||
| 		if (error) | ||||
| 			goto out_fail; | ||||
| 	} | ||||
| 
 | ||||
| #endif | ||||
| /*
 | ||||
|  * Ok, everything is ready, let's register all serio ports | ||||
|  */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew Morton
				Andrew Morton