Date:2010-03-21 17:05:27 (3 years 2 months ago)
Author:florian
Commit:a3d62deca257f2a5b9be1963aba395f7d8a0c08a
Message:[atheros] fix ethernet driver remove function to use the correct annotation (#6311)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20350 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch (2 diffs)
target/linux/atheros/patches-2.6.31/110-ar2313_ethernet.patch (2 diffs)
target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch (2 diffs)
target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch (2 diffs)

Change Details

target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch
355355+ tasklet_kill(&sp->rx_tasklet);
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);
361361+ struct ar231x_private *sp = netdev_priv(dev);
...... 
392392+static struct platform_driver ar231x_driver = {
393393+ .driver.name = "ar231x-eth",
394394+ .probe = ar231x_probe,
395+ .remove = ar231x_remove,
395+ .remove = __devexit_p(ar231x_remove),
396396+};
397397+
398398+int __init ar231x_module_init(void)
target/linux/atheros/patches-2.6.31/110-ar2313_ethernet.patch
355355+ tasklet_kill(&sp->rx_tasklet);
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);
361361+ struct ar231x_private *sp = netdev_priv(dev);
...... 
392392+static struct platform_driver ar231x_driver = {
393393+ .driver.name = "ar231x-eth",
394394+ .probe = ar231x_probe,
395+ .remove = ar231x_remove,
395+ .remove = __devexit_p(ar231x_remove),
396396+};
397397+
398398+int __init ar231x_module_init(void)
target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
355355+ tasklet_kill(&sp->rx_tasklet);
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);
361361+ struct ar231x_private *sp = netdev_priv(dev);
...... 
392392+static struct platform_driver ar231x_driver = {
393393+ .driver.name = "ar231x-eth",
394394+ .probe = ar231x_probe,
395+ .remove = ar231x_remove,
395+ .remove = __devexit_p(ar231x_remove),
396396+};
397397+
398398+int __init ar231x_module_init(void)
target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch
355355+ tasklet_kill(&sp->rx_tasklet);
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);
361361+ struct ar231x_private *sp = netdev_priv(dev);
...... 
392392+static struct platform_driver ar231x_driver = {
393393+ .driver.name = "ar231x-eth",
394394+ .probe = ar231x_probe,
395+ .remove = ar231x_remove,
395+ .remove = __devexit_p(ar231x_remove),
396396+};
397397+
398398+int __init ar231x_module_init(void)

Archive Download the corresponding diff file



interactive