aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-18 12:25:12 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 09:59:00 -0500
commitcd09fea446f485f1514ad444cb06a35e1dd63326 (patch)
tree3d5cb1cb760ef9dec651f7c946845598444a31dc /drivers/dma/mv_xor.c
parentf7d12ef53ddfd8175933af42bfc477376d19e19e (diff)
dma: mv_xor: add missing __devinit and __devexit qualifiers on probe and remove
The ->probe() and ->remove() functions were missing the usual __devinit and __devexit qualifiers. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/dma/mv_xor.c')
-rw-r--r--drivers/dma/mv_xor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index b1c4edd56ebc..97c8611f5ffb 100644
--- a/drivers/dma/mv_xor.c
+++ b/drivers/dma/mv_xor.c
@@ -1233,7 +1233,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_device *xordev,
1233 writel(win_enable, base + WINDOW_BAR_ENABLE(1)); 1233 writel(win_enable, base + WINDOW_BAR_ENABLE(1));
1234} 1234}
1235 1235
1236static int mv_xor_probe(struct platform_device *pdev) 1236static int __devinit mv_xor_probe(struct platform_device *pdev)
1237{ 1237{
1238 const struct mbus_dram_target_info *dram; 1238 const struct mbus_dram_target_info *dram;
1239 struct mv_xor_device *xordev; 1239 struct mv_xor_device *xordev;
@@ -1358,7 +1358,7 @@ err_channel_add:
1358 return ret; 1358 return ret;
1359} 1359}
1360 1360
1361static int mv_xor_remove(struct platform_device *pdev) 1361static int __devexit mv_xor_remove(struct platform_device *pdev)
1362{ 1362{
1363 struct mv_xor_device *xordev = platform_get_drvdata(pdev); 1363 struct mv_xor_device *xordev = platform_get_drvdata(pdev);
1364 int i; 1364 int i;
@@ -1386,7 +1386,7 @@ MODULE_DEVICE_TABLE(of, mv_xor_dt_ids);
1386 1386
1387static struct platform_driver mv_xor_driver = { 1387static struct platform_driver mv_xor_driver = {
1388 .probe = mv_xor_probe, 1388 .probe = mv_xor_probe,
1389 .remove = mv_xor_remove, 1389 .remove = __devexit_p(mv_xor_remove),
1390 .driver = { 1390 .driver = {
1391 .owner = THIS_MODULE, 1391 .owner = THIS_MODULE,
1392 .name = MV_XOR_NAME, 1392 .name = MV_XOR_NAME,