mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-18 22:14:16 +00:00 
			
		
		
		
	powerpc: Run sbc610 USB fixup code only on the appropriate platform.
commit a969e76a71 (powerpc: Correct USB
support for GE Fanuc SBC610) introduced a fixup for NEC usb controllers.
This fixup should only run on GEF SBC610 boards.
Fixes Fedora bug #486511.
(https://bugzilla.redhat.com/show_bug.cgi?id=486511)
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
			
			
This commit is contained in:
		
							parent
							
								
									fec6c6fec3
								
							
						
					
					
						commit
						368a12117d
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -142,6 +142,10 @@ static void __init gef_sbc610_nec_fixup(struct pci_dev *pdev) | |||
| { | ||||
| 	unsigned int val; | ||||
| 
 | ||||
| 	/* Do not do the fixup on other platforms! */ | ||||
| 	if (!machine_is(gef_sbc610)) | ||||
| 		return; | ||||
| 
 | ||||
| 	printk(KERN_INFO "Running NEC uPD720101 Fixup\n"); | ||||
| 
 | ||||
| 	/* Ensure ports 1, 2, 3, 4 & 5 are enabled */ | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Tony Breeds
						Tony Breeds