ppc40x: remove __dev_{in,ex}it annotations
authorGabor Juhos <juhosg@openwrt.org>
Sun, 10 Mar 2013 07:20:54 +0000 (07:20 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 10 Mar 2013 07:20:54 +0000 (07:20 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35918

target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch
target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch

index da1c1a795994309ec8226a9a29ba41d8bc9508b0..74618912243d6fe46d9011474437c5fb6f452e64 100644 (file)
 +                    ap->ioaddr.ctl_addr);
 +}
 +
-+static int __devinit magicbox_cf_of_probe(struct platform_device *op)
++static int magicbox_cf_of_probe(struct platform_device *op)
 +{
 +      struct magicbox_cf_info *info;
 +      struct ata_host *host;
 +      return ret;
 +}
 +
-+static __devexit int magicbox_cf_of_remove(struct platform_device *op)
++static int magicbox_cf_of_remove(struct platform_device *op)
 +{
 +      struct ata_host *host = dev_get_drvdata(&op->dev);
 +      struct magicbox_cf_info *info = host->private_data;
 +
 +static struct platform_driver magicbox_cf_of_platform_driver = {
 +      .probe          = magicbox_cf_of_probe,
-+      .remove         = __devexit_p(magicbox_cf_of_remove),
++      .remove         = magicbox_cf_of_remove,
 +      .driver         = {
 +              .name = DRV_NAME,
 +              .owner = THIS_MODULE,
index c7aa6adec4c253fdbc9045ec4a871d9312a34893..03de42e694415590cb983223c24e073d076cc2ac 100644 (file)
@@ -44,7 +44,7 @@
 +#define isp116x_of_delay      NULL
 +#endif
 +
-+static int __devinit isp116x_of_probe(struct platform_device *op)
++static int isp116x_of_probe(struct platform_device *op)
 +{
 +      struct device_node *dn = op->dev.of_node;
 +      struct usb_hcd *hcd;
 +      return ret;
 +}
 +
-+static __devexit int isp116x_of_remove(struct platform_device *op)
++static int isp116x_of_remove(struct platform_device *op)
 +{
 +      struct usb_hcd *hcd = dev_get_drvdata(&op->dev);
 +      struct isp116x *isp116x;
 +
 +static struct platform_driver isp116x_of_platform_driver = {
 +      .probe          = isp116x_of_probe,
-+      .remove         = __devexit_p(isp116x_of_remove),
++      .remove         = isp116x_of_remove,
 +      .driver         = {
 +              .name   = "isp116x-hcd-of",
 +              .owner  = THIS_MODULE,