aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-16 22:58:08 -0500
committerOlof Johansson <olof@lixom.net>2013-01-16 22:58:58 -0500
commit5046e385b4426e229a6beb4bce480762af91a6fc (patch)
tree65b4bff2c913a18840b3c58892853d51b942ac43 /drivers/dma/ioat/dma.c
parenta73b59c51ab288d81b515b504790267f594884b8 (diff)
parentb86dc0d8c12bbb9fed3f392c284bdc7114ce00c1 (diff)
Merge branch 'v3.8-samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
From Kukjin Kim: That branch fixes build error for S3C24XX/S3C64xx. And corrects dw-mshc properties on EXYNOS5 DT and fixes IRQ mapping on Cragganmore board. * 'v3.8-samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: ARM: S3C64XX: Fix up IRQ mapping for balblair on Cragganmore ARM: dts: correct the dw-mshc timing properties as per binding ARM: S3C64XX: Fix build error with CONFIG_S3C_DEV_FB disabled + Linux 3.8-rc3 Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/dma/ioat/dma.c')
-rw-r--r--drivers/dma/ioat/dma.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c
index 73b2b65cb1de..1a68a8ba87e6 100644
--- a/drivers/dma/ioat/dma.c
+++ b/drivers/dma/ioat/dma.c
@@ -782,7 +782,7 @@ static void ioat1_dma_start_null_desc(struct ioat_dma_chan *ioat)
782 */ 782 */
783#define IOAT_TEST_SIZE 2000 783#define IOAT_TEST_SIZE 2000
784 784
785static void __devinit ioat_dma_test_callback(void *dma_async_param) 785static void ioat_dma_test_callback(void *dma_async_param)
786{ 786{
787 struct completion *cmp = dma_async_param; 787 struct completion *cmp = dma_async_param;
788 788
@@ -793,7 +793,7 @@ static void __devinit ioat_dma_test_callback(void *dma_async_param)
793 * ioat_dma_self_test - Perform a IOAT transaction to verify the HW works. 793 * ioat_dma_self_test - Perform a IOAT transaction to verify the HW works.
794 * @device: device to be tested 794 * @device: device to be tested
795 */ 795 */
796int __devinit ioat_dma_self_test(struct ioatdma_device *device) 796int ioat_dma_self_test(struct ioatdma_device *device)
797{ 797{
798 int i; 798 int i;
799 u8 *src; 799 u8 *src;
@@ -994,7 +994,7 @@ static void ioat_disable_interrupts(struct ioatdma_device *device)
994 writeb(0, device->reg_base + IOAT_INTRCTRL_OFFSET); 994 writeb(0, device->reg_base + IOAT_INTRCTRL_OFFSET);
995} 995}
996 996
997int __devinit ioat_probe(struct ioatdma_device *device) 997int ioat_probe(struct ioatdma_device *device)
998{ 998{
999 int err = -ENODEV; 999 int err = -ENODEV;
1000 struct dma_device *dma = &device->common; 1000 struct dma_device *dma = &device->common;
@@ -1049,7 +1049,7 @@ err_dma_pool:
1049 return err; 1049 return err;
1050} 1050}
1051 1051
1052int __devinit ioat_register(struct ioatdma_device *device) 1052int ioat_register(struct ioatdma_device *device)
1053{ 1053{
1054 int err = dma_async_device_register(&device->common); 1054 int err = dma_async_device_register(&device->common);
1055 1055
@@ -1183,7 +1183,7 @@ void ioat_kobject_del(struct ioatdma_device *device)
1183 } 1183 }
1184} 1184}
1185 1185
1186int __devinit ioat1_dma_probe(struct ioatdma_device *device, int dca) 1186int ioat1_dma_probe(struct ioatdma_device *device, int dca)
1187{ 1187{
1188 struct pci_dev *pdev = device->pdev; 1188 struct pci_dev *pdev = device->pdev;
1189 struct dma_device *dma; 1189 struct dma_device *dma;
@@ -1216,7 +1216,7 @@ int __devinit ioat1_dma_probe(struct ioatdma_device *device, int dca)
1216 return err; 1216 return err;
1217} 1217}
1218 1218
1219void __devexit ioat_dma_remove(struct ioatdma_device *device) 1219void ioat_dma_remove(struct ioatdma_device *device)
1220{ 1220{
1221 struct dma_device *dma = &device->common; 1221 struct dma_device *dma = &device->common;
1222 1222