timb_dma.c (eeca9fad52fc4bfdf42c38bfcf383e932eb3e9d6) timb_dma.c (ec5b103ecfde929004b691f29183255aeeadecd5)
1/*
2 * timb_dma.c timberdale FPGA DMA driver
3 * Copyright (c) 2010 Intel Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *

--- 655 unchanged lines hidden (view full) ---

664 return IRQ_HANDLED;
665 } else
666 return IRQ_NONE;
667}
668
669
670static int td_probe(struct platform_device *pdev)
671{
1/*
2 * timb_dma.c timberdale FPGA DMA driver
3 * Copyright (c) 2010 Intel Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *

--- 655 unchanged lines hidden (view full) ---

664 return IRQ_HANDLED;
665 } else
666 return IRQ_NONE;
667}
668
669
670static int td_probe(struct platform_device *pdev)
671{
672 struct timb_dma_platform_data *pdata = pdev->dev.platform_data;
672 struct timb_dma_platform_data *pdata = dev_get_platdata(&pdev->dev);
673 struct timb_dma *td;
674 struct resource *iomem;
675 int irq;
676 int err;
677 int i;
678
679 if (!pdata) {
680 dev_err(&pdev->dev, "No platform data\n");

--- 152 unchanged lines hidden ---
673 struct timb_dma *td;
674 struct resource *iomem;
675 int irq;
676 int err;
677 int i;
678
679 if (!pdata) {
680 dev_err(&pdev->dev, "No platform data\n");

--- 152 unchanged lines hidden ---