diff options
-rw-r--r-- | drivers/dma/dw_dmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 6b456f042557..83f63b38dcc0 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c | |||
@@ -1375,7 +1375,7 @@ static void dw_dma_off(struct dw_dma *dw) | |||
1375 | dw->chan[i].initialized = false; | 1375 | dw->chan[i].initialized = false; |
1376 | } | 1376 | } |
1377 | 1377 | ||
1378 | static int __init dw_probe(struct platform_device *pdev) | 1378 | static int __devinit dw_probe(struct platform_device *pdev) |
1379 | { | 1379 | { |
1380 | struct dw_dma_platform_data *pdata; | 1380 | struct dw_dma_platform_data *pdata; |
1381 | struct resource *io; | 1381 | struct resource *io; |
@@ -1512,7 +1512,7 @@ err_kfree: | |||
1512 | return err; | 1512 | return err; |
1513 | } | 1513 | } |
1514 | 1514 | ||
1515 | static int __exit dw_remove(struct platform_device *pdev) | 1515 | static int __devexit dw_remove(struct platform_device *pdev) |
1516 | { | 1516 | { |
1517 | struct dw_dma *dw = platform_get_drvdata(pdev); | 1517 | struct dw_dma *dw = platform_get_drvdata(pdev); |
1518 | struct dw_dma_chan *dwc, *_dwc; | 1518 | struct dw_dma_chan *dwc, *_dwc; |
@@ -1591,7 +1591,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_id_table); | |||
1591 | #endif | 1591 | #endif |
1592 | 1592 | ||
1593 | static struct platform_driver dw_driver = { | 1593 | static struct platform_driver dw_driver = { |
1594 | .remove = __exit_p(dw_remove), | 1594 | .remove = __devexit_p(dw_remove), |
1595 | .shutdown = dw_shutdown, | 1595 | .shutdown = dw_shutdown, |
1596 | .driver = { | 1596 | .driver = { |
1597 | .name = "dw_dmac", | 1597 | .name = "dw_dmac", |