Changeset 20350 for trunk


Ignore:
Timestamp:
2010-03-21T17:05:27+01:00 (6 years ago)
Author:
florian
Message:

[atheros] fix ethernet driver remove function to use the correct annotation (#6311)

Location:
trunk/target/linux/atheros
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch

    r17145 r20350  
    356356+} 
    357357+ 
    358 +static int __exit ar231x_remove(struct platform_device *pdev) 
     358+static int __devexit ar231x_remove(struct platform_device *pdev) 
    359359+{ 
    360360+       struct net_device *dev = platform_get_drvdata(pdev); 
     
    393393+       .driver.name = "ar231x-eth", 
    394394+       .probe = ar231x_probe, 
    395 +       .remove = ar231x_remove, 
     395+       .remove = __devexit_p(ar231x_remove), 
    396396+}; 
    397397+ 
  • trunk/target/linux/atheros/patches-2.6.31/110-ar2313_ethernet.patch

    r17700 r20350  
    356356+} 
    357357+ 
    358 +static int __exit ar231x_remove(struct platform_device *pdev) 
     358+static int __devexit ar231x_remove(struct platform_device *pdev) 
    359359+{ 
    360360+       struct net_device *dev = platform_get_drvdata(pdev); 
     
    393393+       .driver.name = "ar231x-eth", 
    394394+       .probe = ar231x_probe, 
    395 +       .remove = ar231x_remove, 
     395+       .remove = __devexit_p(ar231x_remove), 
    396396+}; 
    397397+ 
  • trunk/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch

    r20197 r20350  
    356356+} 
    357357+ 
    358 +static int __exit ar231x_remove(struct platform_device *pdev) 
     358+static int __devexit ar231x_remove(struct platform_device *pdev) 
    359359+{ 
    360360+       struct net_device *dev = platform_get_drvdata(pdev); 
     
    393393+       .driver.name = "ar231x-eth", 
    394394+       .probe = ar231x_probe, 
    395 +       .remove = ar231x_remove, 
     395+       .remove = __devexit_p(ar231x_remove), 
    396396+}; 
    397397+ 
  • trunk/target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch

    r19963 r20350  
    356356+} 
    357357+ 
    358 +static int __exit ar231x_remove(struct platform_device *pdev) 
     358+static int __devexit ar231x_remove(struct platform_device *pdev) 
    359359+{ 
    360360+       struct net_device *dev = platform_get_drvdata(pdev); 
     
    393393+       .driver.name = "ar231x-eth", 
    394394+       .probe = ar231x_probe, 
    395 +       .remove = ar231x_remove, 
     395+       .remove = __devexit_p(ar231x_remove), 
    396396+}; 
    397397+ 
Note: See TracChangeset for help on using the changeset viewer.