mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Updated driver for latest version of linux
This commit is contained in:
		
							parent
							
								
									66b97ad812
								
							
						
					
					
						commit
						337f5fadc7
					
				@ -379,15 +379,11 @@ static irqreturn_t sdc_isr(int irq, void * dev_id) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/*---------------------------------------------------------------------*/
 | 
					/*---------------------------------------------------------------------*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// JACOB: Had to modify this to resemble the older version of Linux
 | 
					 | 
				
			||||||
//        Used to be called hw_reset in older versions. Now it's
 | 
					 | 
				
			||||||
//        called .card_hw_reset to make it unambiguous what it's
 | 
					 | 
				
			||||||
//        resetting. When I update Linux, this will be changed back.
 | 
					 | 
				
			||||||
static const struct mmc_host_ops axi_sdc_ops = {
 | 
					static const struct mmc_host_ops axi_sdc_ops = {
 | 
				
			||||||
    .request = sdc_request,
 | 
					    .request = sdc_request,
 | 
				
			||||||
    .set_ios = sdc_set_ios,
 | 
					    .set_ios = sdc_set_ios,
 | 
				
			||||||
    .get_cd = sdc_get_cd,
 | 
					    .get_cd = sdc_get_cd,
 | 
				
			||||||
    .hw_reset = sdc_card_reset,
 | 
					    .card_hw_reset = sdc_card_reset,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int axi_sdc_probe(struct platform_device * pdev) {
 | 
					static int axi_sdc_probe(struct platform_device * pdev) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user