Title: [5771] trunk/drivers/ata/pata_platform.c: Bug[#4659] __pata_platform_remove() should not be in discarded section
Revision
5771
Author
sonicz
Date
2008-12-01 03:51:39 -0600 (Mon, 01 Dec 2008)

Log Message

Bug[#4659] __pata_platform_remove() should not be in discarded section
__pata_platform_remove(struct device *dev) is invoked in both
pata_platform.c and pata_of_platform.c by reomve function defined in
discarded section ".devexit.text". An exported function should not be put
into discarded section.

Modified Paths

Diff

Modified: trunk/drivers/ata/pata_platform.c (5770 => 5771)


--- trunk/drivers/ata/pata_platform.c	2008-12-01 09:31:51 UTC (rev 5770)
+++ trunk/drivers/ata/pata_platform.c	2008-12-01 09:51:39 UTC (rev 5771)
@@ -188,7 +188,7 @@
  *	A platform bus ATA device has been unplugged. Perform the needed
  *	cleanup. Also called on module unload for any active devices.
  */
-int __devexit __pata_platform_remove(struct device *dev)
+int __pata_platform_remove(struct device *dev)
 {
 	struct ata_host *host = dev_get_drvdata(dev);
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to