mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	gemini: fix usb driver compilation on 3.18
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45065
This commit is contained in:
		
							parent
							
								
									b67719f571
								
							
						
					
					
						commit
						c6a29d2528
					
				@ -206,8 +206,8 @@ static int fotg2_ehci_probe(struct platform_device *pdev)
 | 
			
		||||
	hcd->rsrc_start = res->start;
 | 
			
		||||
	hcd->rsrc_len = resource_size(res);
 | 
			
		||||
 | 
			
		||||
	hcd->regs = devm_request_and_ioremap(&pdev->dev, res);
 | 
			
		||||
	if (!hcd->regs) {
 | 
			
		||||
	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
 | 
			
		||||
	if (IS_ERR(hcd->regs)) {
 | 
			
		||||
		err = -ENOMEM;
 | 
			
		||||
		goto err_put_hcd;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user