diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 15:42:36 -0500 |
commit | 463a1f8b3ceebe990ca9a8c7cc2e51ee42cb48eb (patch) | |
tree | 7b9c4b6dec935a71493e7e05e51448b3fc5e8cce /drivers/dma/sh | |
parent | a7d6e3ec28bba30d1409d70de1958edc6d9109d7 (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>
Diffstat (limited to 'drivers/dma/sh')
-rw-r--r-- | drivers/dma/sh/shdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||
486 | static int __devinit sh_dmae_chan_probe(struct sh_dmae_device *shdev, int id, | 486 | static 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 | ||
649 | static int __devinit sh_dmae_probe(struct platform_device *pdev) | 649 | static 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, |