Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 463a1f8b authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

dma: remove use of __devinit



CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: default avatarBill 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: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a7d6e3ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1462,7 +1462,7 @@ static void dw_dma_off(struct dw_dma *dw)
		dw->chan[i].initialized = false;
}

static int __devinit dw_probe(struct platform_device *pdev)
static int dw_probe(struct platform_device *pdev)
{
	struct dw_dma_platform_data *pdata;
	struct resource		*io;
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ static void edma_dma_init(struct edma_cc *ecc, struct dma_device *dma,
	INIT_LIST_HEAD(&dma->channels);
}

static int __devinit edma_probe(struct platform_device *pdev)
static int edma_probe(struct platform_device *pdev)
{
	struct edma_cc *ecc;
	int ret;
+2 −2
Original line number Diff line number Diff line
@@ -1221,7 +1221,7 @@ static int fsldma_request_irqs(struct fsldma_device *fdev)
/* OpenFirmware Subsystem                                                     */
/*----------------------------------------------------------------------------*/

static int __devinit fsl_dma_chan_probe(struct fsldma_device *fdev,
static int fsl_dma_chan_probe(struct fsldma_device *fdev,
	struct device_node *node, u32 feature, const char *compatible)
{
	struct fsldma_chan *chan;
@@ -1324,7 +1324,7 @@ static void fsl_dma_chan_remove(struct fsldma_chan *chan)
	kfree(chan);
}

static int __devinit fsldma_of_probe(struct platform_device *op)
static int fsldma_of_probe(struct platform_device *op)
{
	struct fsldma_device *fdev;
	struct device_node *child;
+1 −1
Original line number Diff line number Diff line
@@ -1225,7 +1225,7 @@ static void middma_shutdown(struct pci_dev *pdev)
 * Initialize the PCI device, map BARs, query driver data.
 * Call setup_dma to complete contoller and chan initilzation
 */
static int __devinit intel_mid_dma_probe(struct pci_dev *pdev,
static int intel_mid_dma_probe(struct pci_dev *pdev,
					const struct pci_device_id *id)
{
	struct middma_device *device;
+4 −4
Original line number Diff line number Diff line
@@ -968,7 +968,7 @@ static void iop_adma_issue_pending(struct dma_chan *chan)
 */
#define IOP_ADMA_TEST_SIZE 2000

static int __devinit iop_adma_memcpy_self_test(struct iop_adma_device *device)
static int iop_adma_memcpy_self_test(struct iop_adma_device *device)
{
	int i;
	void *src, *dest;
@@ -1042,7 +1042,7 @@ static int __devinit iop_adma_memcpy_self_test(struct iop_adma_device *device)
}

#define IOP_ADMA_NUM_SRC_TEST 4 /* must be <= 15 */
static int __devinit
static int
iop_adma_xor_val_self_test(struct iop_adma_device *device)
{
	int i, src_idx;
@@ -1243,7 +1243,7 @@ iop_adma_xor_val_self_test(struct iop_adma_device *device)
}

#ifdef CONFIG_RAID6_PQ
static int __devinit
static int
iop_adma_pq_zero_sum_self_test(struct iop_adma_device *device)
{
	/* combined sources, software pq results, and extra hw pq results */
@@ -1429,7 +1429,7 @@ static int __devexit iop_adma_remove(struct platform_device *dev)
	return 0;
}

static int __devinit iop_adma_probe(struct platform_device *pdev)
static int iop_adma_probe(struct platform_device *pdev)
{
	struct resource *res;
	int ret = 0, i;
Loading