aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:55 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:42:36 -0500
commit463a1f8b3ceebe990ca9a8c7cc2e51ee42cb48eb (patch)
tree7b9c4b6dec935a71493e7e05e51448b3fc5e8cce
parenta7d6e3ec28bba30d1409d70de1958edc6d9109d7 (diff)
dma: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Li Yang <leoli@freescale.com> Cc: Zhang Wei <zw@zh-kernel.org> Cc: Barry Song <baohua.song@csr.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/dma/dw_dmac.c2
-rw-r--r--drivers/dma/edma.c2
-rw-r--r--drivers/dma/fsldma.c4
-rw-r--r--drivers/dma/intel_mid_dma.c2
-rw-r--r--drivers/dma/iop-adma.c8
-rw-r--r--drivers/dma/mmp_pdma.c4
-rw-r--r--drivers/dma/mmp_tdma.c4
-rw-r--r--drivers/dma/mpc512x_dma.c2
-rw-r--r--drivers/dma/mv_xor.c6
-rw-r--r--drivers/dma/pch_dma.c2
-rw-r--r--drivers/dma/pl330.c2
-rw-r--r--drivers/dma/ppc4xx/adma.c2
-rw-r--r--drivers/dma/sa11x0-dma.c4
-rw-r--r--drivers/dma/sh/shdma.c4
-rw-r--r--drivers/dma/sirf-dma.c2
-rw-r--r--drivers/dma/tegra20-apb-dma.c2
-rw-r--r--drivers/dma/timb_dma.c2
17 files changed, 27 insertions, 27 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
index 3b21818719d2..8f0b111af4de 100644
--- a/drivers/dma/dw_dmac.c
+++ b/drivers/dma/dw_dmac.c
@@ -1462,7 +1462,7 @@ static void dw_dma_off(struct dw_dma *dw)
1462 dw->chan[i].initialized = false; 1462 dw->chan[i].initialized = false;
1463} 1463}
1464 1464
1465static int __devinit dw_probe(struct platform_device *pdev) 1465static int dw_probe(struct platform_device *pdev)
1466{ 1466{
1467 struct dw_dma_platform_data *pdata; 1467 struct dw_dma_platform_data *pdata;
1468 struct resource *io; 1468 struct resource *io;
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 5e5cce4ec720..232b4583ae93 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -545,7 +545,7 @@ static void edma_dma_init(struct edma_cc *ecc, struct dma_device *dma,
545 INIT_LIST_HEAD(&dma->channels); 545 INIT_LIST_HEAD(&dma->channels);
546} 546}
547 547
548static int __devinit edma_probe(struct platform_device *pdev) 548static int edma_probe(struct platform_device *pdev)
549{ 549{
550 struct edma_cc *ecc; 550 struct edma_cc *ecc;
551 int ret; 551 int ret;
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 094437b9d823..4fc2980556ad 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -1221,7 +1221,7 @@ out_unwind:
1221/* OpenFirmware Subsystem */ 1221/* OpenFirmware Subsystem */
1222/*----------------------------------------------------------------------------*/ 1222/*----------------------------------------------------------------------------*/
1223 1223
1224static int __devinit fsl_dma_chan_probe(struct fsldma_device *fdev, 1224static int fsl_dma_chan_probe(struct fsldma_device *fdev,
1225 struct device_node *node, u32 feature, const char *compatible) 1225 struct device_node *node, u32 feature, const char *compatible)
1226{ 1226{
1227 struct fsldma_chan *chan; 1227 struct fsldma_chan *chan;
@@ -1324,7 +1324,7 @@ static void fsl_dma_chan_remove(struct fsldma_chan *chan)
1324 kfree(chan); 1324 kfree(chan);
1325} 1325}
1326 1326
1327static int __devinit fsldma_of_probe(struct platform_device *op) 1327static int fsldma_of_probe(struct platform_device *op)
1328{ 1328{
1329 struct fsldma_device *fdev; 1329 struct fsldma_device *fdev;
1330 struct device_node *child; 1330 struct device_node *child;
diff --git a/drivers/dma/intel_mid_dma.c b/drivers/dma/intel_mid_dma.c
index dffdeffe2c4e..bc764afacd9b 100644
--- a/drivers/dma/intel_mid_dma.c
+++ b/drivers/dma/intel_mid_dma.c
@@ -1225,7 +1225,7 @@ static void middma_shutdown(struct pci_dev *pdev)
1225 * Initialize the PCI device, map BARs, query driver data. 1225 * Initialize the PCI device, map BARs, query driver data.
1226 * Call setup_dma to complete contoller and chan initilzation 1226 * Call setup_dma to complete contoller and chan initilzation
1227 */ 1227 */
1228static int __devinit intel_mid_dma_probe(struct pci_dev *pdev, 1228static int intel_mid_dma_probe(struct pci_dev *pdev,
1229 const struct pci_device_id *id) 1229 const struct pci_device_id *id)
1230{ 1230{
1231 struct middma_device *device; 1231 struct middma_device *device;
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index f4a8668b3467..9072e173b860 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -968,7 +968,7 @@ static void iop_adma_issue_pending(struct dma_chan *chan)
968 */ 968 */
969#define IOP_ADMA_TEST_SIZE 2000 969#define IOP_ADMA_TEST_SIZE 2000
970 970
971static int __devinit iop_adma_memcpy_self_test(struct iop_adma_device *device) 971static int iop_adma_memcpy_self_test(struct iop_adma_device *device)
972{ 972{
973 int i; 973 int i;
974 void *src, *dest; 974 void *src, *dest;
@@ -1042,7 +1042,7 @@ out:
1042} 1042}
1043 1043
1044#define IOP_ADMA_NUM_SRC_TEST 4 /* must be <= 15 */ 1044#define IOP_ADMA_NUM_SRC_TEST 4 /* must be <= 15 */
1045static int __devinit 1045static int
1046iop_adma_xor_val_self_test(struct iop_adma_device *device) 1046iop_adma_xor_val_self_test(struct iop_adma_device *device)
1047{ 1047{
1048 int i, src_idx; 1048 int i, src_idx;
@@ -1243,7 +1243,7 @@ out:
1243} 1243}
1244 1244
1245#ifdef CONFIG_RAID6_PQ 1245#ifdef CONFIG_RAID6_PQ
1246static int __devinit 1246static int
1247iop_adma_pq_zero_sum_self_test(struct iop_adma_device *device) 1247iop_adma_pq_zero_sum_self_test(struct iop_adma_device *device)
1248{ 1248{
1249 /* combined sources, software pq results, and extra hw pq results */ 1249 /* combined sources, software pq results, and extra hw pq results */
@@ -1429,7 +1429,7 @@ static int __devexit iop_adma_remove(struct platform_device *dev)
1429 return 0; 1429 return 0;
1430} 1430}
1431 1431
1432static int __devinit iop_adma_probe(struct platform_device *pdev) 1432static int iop_adma_probe(struct platform_device *pdev)
1433{ 1433{
1434 struct resource *res; 1434 struct resource *res;
1435 int ret = 0, i; 1435 int ret = 0, i;
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 4777986adbaf..13bdf4a7e1ec 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -720,7 +720,7 @@ static int __devexit mmp_pdma_remove(struct platform_device *op)
720 return 0; 720 return 0;
721} 721}
722 722
723static int __devinit mmp_pdma_chan_init(struct mmp_pdma_device *pdev, 723static int mmp_pdma_chan_init(struct mmp_pdma_device *pdev,
724 int idx, int irq) 724 int idx, int irq)
725{ 725{
726 struct mmp_pdma_phy *phy = &pdev->phy[idx]; 726 struct mmp_pdma_phy *phy = &pdev->phy[idx];
@@ -764,7 +764,7 @@ static struct of_device_id mmp_pdma_dt_ids[] = {
764}; 764};
765MODULE_DEVICE_TABLE(of, mmp_pdma_dt_ids); 765MODULE_DEVICE_TABLE(of, mmp_pdma_dt_ids);
766 766
767static int __devinit mmp_pdma_probe(struct platform_device *op) 767static int mmp_pdma_probe(struct platform_device *op)
768{ 768{
769 struct mmp_pdma_device *pdev; 769 struct mmp_pdma_device *pdev;
770 const struct of_device_id *of_id; 770 const struct of_device_id *of_id;
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index 7d7fc6b19261..323821c0c095 100644
--- a/drivers/dma/mmp_tdma.c
+++ b/drivers/dma/mmp_tdma.c
@@ -475,7 +475,7 @@ static int __devexit mmp_tdma_remove(struct platform_device *pdev)
475 return 0; 475 return 0;
476} 476}
477 477
478static int __devinit mmp_tdma_chan_init(struct mmp_tdma_device *tdev, 478static int mmp_tdma_chan_init(struct mmp_tdma_device *tdev,
479 int idx, int irq, int type) 479 int idx, int irq, int type)
480{ 480{
481 struct mmp_tdma_chan *tdmac; 481 struct mmp_tdma_chan *tdmac;
@@ -515,7 +515,7 @@ static struct of_device_id mmp_tdma_dt_ids[] = {
515}; 515};
516MODULE_DEVICE_TABLE(of, mmp_tdma_dt_ids); 516MODULE_DEVICE_TABLE(of, mmp_tdma_dt_ids);
517 517
518static int __devinit mmp_tdma_probe(struct platform_device *pdev) 518static int mmp_tdma_probe(struct platform_device *pdev)
519{ 519{
520 enum mmp_tdma_type type; 520 enum mmp_tdma_type type;
521 const struct of_device_id *of_id; 521 const struct of_device_id *of_id;
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c
index 4b8754b9a2df..2cd024a91d40 100644
--- a/drivers/dma/mpc512x_dma.c
+++ b/drivers/dma/mpc512x_dma.c
@@ -641,7 +641,7 @@ mpc_dma_prep_memcpy(struct dma_chan *chan, dma_addr_t dst, dma_addr_t src,
641 return &mdesc->desc; 641 return &mdesc->desc;
642} 642}
643 643
644static int __devinit mpc_dma_probe(struct platform_device *op) 644static int mpc_dma_probe(struct platform_device *op)
645{ 645{
646 struct device_node *dn = op->dev.of_node; 646 struct device_node *dn = op->dev.of_node;
647 struct device *dev = &op->dev; 647 struct device *dev = &op->dev;
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index 2e9ad2d9fe44..d12ad00da4cb 100644
--- a/drivers/dma/mv_xor.c
+++ b/drivers/dma/mv_xor.c
@@ -901,7 +901,7 @@ static void mv_xor_issue_pending(struct dma_chan *chan)
901 */ 901 */
902#define MV_XOR_TEST_SIZE 2000 902#define MV_XOR_TEST_SIZE 2000
903 903
904static int __devinit mv_xor_memcpy_self_test(struct mv_xor_device *device) 904static int mv_xor_memcpy_self_test(struct mv_xor_device *device)
905{ 905{
906 int i; 906 int i;
907 void *src, *dest; 907 void *src, *dest;
@@ -975,7 +975,7 @@ out:
975} 975}
976 976
977#define MV_XOR_NUM_SRC_TEST 4 /* must be <= 15 */ 977#define MV_XOR_NUM_SRC_TEST 4 /* must be <= 15 */
978static int __devinit 978static int
979mv_xor_xor_self_test(struct mv_xor_device *device) 979mv_xor_xor_self_test(struct mv_xor_device *device)
980{ 980{
981 int i, src_idx; 981 int i, src_idx;
@@ -1100,7 +1100,7 @@ static int __devexit mv_xor_remove(struct platform_device *dev)
1100 return 0; 1100 return 0;
1101} 1101}
1102 1102
1103static int __devinit mv_xor_probe(struct platform_device *pdev) 1103static int mv_xor_probe(struct platform_device *pdev)
1104{ 1104{
1105 int ret = 0; 1105 int ret = 0;
1106 int irq; 1106 int irq;
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index f7f1c1947089..eca1c4ddf039 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -843,7 +843,7 @@ static int pch_dma_resume(struct pci_dev *pdev)
843} 843}
844#endif 844#endif
845 845
846static int __devinit pch_dma_probe(struct pci_dev *pdev, 846static int pch_dma_probe(struct pci_dev *pdev,
847 const struct pci_device_id *id) 847 const struct pci_device_id *id)
848{ 848{
849 struct pch_dma *pd; 849 struct pch_dma *pd;
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 665668b6f2b1..95555f37ea6d 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2851,7 +2851,7 @@ static irqreturn_t pl330_irq_handler(int irq, void *data)
2851 return IRQ_NONE; 2851 return IRQ_NONE;
2852} 2852}
2853 2853
2854static int __devinit 2854static int
2855pl330_probe(struct amba_device *adev, const struct amba_id *id) 2855pl330_probe(struct amba_device *adev, const struct amba_id *id)
2856{ 2856{
2857 struct dma_pl330_platdata *pdat; 2857 struct dma_pl330_platdata *pdat;
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
index 5c6717c48f48..b94afc339e7f 100644
--- a/drivers/dma/ppc4xx/adma.c
+++ b/drivers/dma/ppc4xx/adma.c
@@ -4361,7 +4361,7 @@ static void ppc440spe_adma_release_irqs(struct ppc440spe_adma_device *adev,
4361/** 4361/**
4362 * ppc440spe_adma_probe - probe the asynch device 4362 * ppc440spe_adma_probe - probe the asynch device
4363 */ 4363 */
4364static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev) 4364static int ppc440spe_adma_probe(struct platform_device *ofdev)
4365{ 4365{
4366 struct device_node *np = ofdev->dev.of_node; 4366 struct device_node *np = ofdev->dev.of_node;
4367 struct resource res; 4367 struct resource res;
diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c
index 1255d9b2c3dd..2ad628df8223 100644
--- a/drivers/dma/sa11x0-dma.c
+++ b/drivers/dma/sa11x0-dma.c
@@ -826,7 +826,7 @@ static const struct sa11x0_dma_channel_desc chan_desc[] = {
826 CD(Ser4SSPRc, DDAR_RW), 826 CD(Ser4SSPRc, DDAR_RW),
827}; 827};
828 828
829static int __devinit sa11x0_dma_init_dmadev(struct dma_device *dmadev, 829static int sa11x0_dma_init_dmadev(struct dma_device *dmadev,
830 struct device *dev) 830 struct device *dev)
831{ 831{
832 unsigned i; 832 unsigned i;
@@ -891,7 +891,7 @@ static void sa11x0_dma_free_channels(struct dma_device *dmadev)
891 } 891 }
892} 892}
893 893
894static int __devinit sa11x0_dma_probe(struct platform_device *pdev) 894static int sa11x0_dma_probe(struct platform_device *pdev)
895{ 895{
896 struct sa11x0_dma_dev *d; 896 struct sa11x0_dma_dev *d;
897 struct resource *res; 897 struct resource *res;
diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c
index 7dcf4e073186..8201bb4e0cd7 100644
--- a/drivers/dma/sh/shdma.c
+++ b/drivers/dma/sh/shdma.c
@@ -483,7 +483,7 @@ static struct notifier_block sh_dmae_nmi_notifier __read_mostly = {
483 .priority = 1, 483 .priority = 1,
484}; 484};
485 485
486static int __devinit sh_dmae_chan_probe(struct sh_dmae_device *shdev, int id, 486static int sh_dmae_chan_probe(struct sh_dmae_device *shdev, int id,
487 int irq, unsigned long flags) 487 int irq, unsigned long flags)
488{ 488{
489 const struct sh_dmae_channel *chan_pdata = &shdev->pdata->channel[id]; 489 const struct sh_dmae_channel *chan_pdata = &shdev->pdata->channel[id];
@@ -646,7 +646,7 @@ static const struct shdma_ops sh_dmae_shdma_ops = {
646 .get_partial = sh_dmae_get_partial, 646 .get_partial = sh_dmae_get_partial,
647}; 647};
648 648
649static int __devinit sh_dmae_probe(struct platform_device *pdev) 649static int sh_dmae_probe(struct platform_device *pdev)
650{ 650{
651 struct sh_dmae_pdata *pdata = pdev->dev.platform_data; 651 struct sh_dmae_pdata *pdata = pdev->dev.platform_data;
652 unsigned long irqflags = IRQF_DISABLED, 652 unsigned long irqflags = IRQF_DISABLED,
diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c
index 62d42c9e16b9..c3de6edb9651 100644
--- a/drivers/dma/sirf-dma.c
+++ b/drivers/dma/sirf-dma.c
@@ -550,7 +550,7 @@ bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id)
550} 550}
551EXPORT_SYMBOL(sirfsoc_dma_filter_id); 551EXPORT_SYMBOL(sirfsoc_dma_filter_id);
552 552
553static int __devinit sirfsoc_dma_probe(struct platform_device *op) 553static int sirfsoc_dma_probe(struct platform_device *op)
554{ 554{
555 struct device_node *dn = op->dev.of_node; 555 struct device_node *dn = op->dev.of_node;
556 struct device *dev = &op->dev; 556 struct device *dev = &op->dev;
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
index 655c4348e468..efdfffa13349 100644
--- a/drivers/dma/tegra20-apb-dma.c
+++ b/drivers/dma/tegra20-apb-dma.c
@@ -1197,7 +1197,7 @@ static const struct of_device_id tegra_dma_of_match[] __devinitconst = {
1197MODULE_DEVICE_TABLE(of, tegra_dma_of_match); 1197MODULE_DEVICE_TABLE(of, tegra_dma_of_match);
1198#endif 1198#endif
1199 1199
1200static int __devinit tegra_dma_probe(struct platform_device *pdev) 1200static int tegra_dma_probe(struct platform_device *pdev)
1201{ 1201{
1202 struct resource *res; 1202 struct resource *res;
1203 struct tegra_dma *tdma; 1203 struct tegra_dma *tdma;
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 4e0dff59901d..98cf51e1544c 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -667,7 +667,7 @@ static irqreturn_t td_irq(int irq, void *devid)
667} 667}
668 668
669 669
670static int __devinit td_probe(struct platform_device *pdev) 670static int td_probe(struct platform_device *pdev)
671{ 671{
672 struct timb_dma_platform_data *pdata = pdev->dev.platform_data; 672 struct timb_dma_platform_data *pdata = pdev->dev.platform_data;
673 struct timb_dma *td; 673 struct timb_dma *td;