aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma_v3.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:09:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:15 -0500
commit4bf27b8b333bcd291664fd0f7d129099d474a23b (patch)
tree2037b00003c0cd8b6b1322bc37704c4c58f868a9 /drivers/dma/ioat/dma_v3.c
parent56550d94cbaeaa195cb98c95d012b301cbd65a8d (diff)
Drivers: dma: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Viresh Kumar <viresh.linux@gmail.com> Cc: Dan Williams <djbw@fb.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Barry Song <baohua.song@csr.com> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Alexander Duyck <alexander.h.duyck@intel.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Jassi Brar <jassisinghbrar@gmail.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/ioat/dma_v3.c')
-rw-r--r--drivers/dma/ioat/dma_v3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c
index f7f1dc62c15c..e5fc944de1f0 100644
--- a/drivers/dma/ioat/dma_v3.c
+++ b/drivers/dma/ioat/dma_v3.c
@@ -836,7 +836,7 @@ ioat3_prep_interrupt_lock(struct dma_chan *c, unsigned long flags)
836 return &desc->txd; 836 return &desc->txd;
837} 837}
838 838
839static void __devinit ioat3_dma_test_callback(void *dma_async_param) 839static void ioat3_dma_test_callback(void *dma_async_param)
840{ 840{
841 struct completion *cmp = dma_async_param; 841 struct completion *cmp = dma_async_param;
842 842
@@ -844,7 +844,7 @@ static void __devinit ioat3_dma_test_callback(void *dma_async_param)
844} 844}
845 845
846#define IOAT_NUM_SRC_TEST 6 /* must be <= 8 */ 846#define IOAT_NUM_SRC_TEST 6 /* must be <= 8 */
847static int __devinit ioat_xor_val_self_test(struct ioatdma_device *device) 847static int ioat_xor_val_self_test(struct ioatdma_device *device)
848{ 848{
849 int i, src_idx; 849 int i, src_idx;
850 struct page *dest; 850 struct page *dest;
@@ -1096,7 +1096,7 @@ out:
1096 return err; 1096 return err;
1097} 1097}
1098 1098
1099static int __devinit ioat3_dma_self_test(struct ioatdma_device *device) 1099static int ioat3_dma_self_test(struct ioatdma_device *device)
1100{ 1100{
1101 int rc = ioat_dma_self_test(device); 1101 int rc = ioat_dma_self_test(device);
1102 1102
@@ -1187,7 +1187,7 @@ static bool is_snb_ioat(struct pci_dev *pdev)
1187 } 1187 }
1188} 1188}
1189 1189
1190int __devinit ioat3_dma_probe(struct ioatdma_device *device, int dca) 1190int ioat3_dma_probe(struct ioatdma_device *device, int dca)
1191{ 1191{
1192 struct pci_dev *pdev = device->pdev; 1192 struct pci_dev *pdev = device->pdev;
1193 int dca_en = system_has_dca_enabled(pdev); 1193 int dca_en = system_has_dca_enabled(pdev);