Skip to content

Commit

Permalink
dma: mv_xor: add missing __devinit and __devexit qualifiers on probe …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Thomas Petazzoni committed Nov 20, 2012
1 parent f7d12ef commit cd09fea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_device *xordev,
writel(win_enable, base + WINDOW_BAR_ENABLE(1));
}

static int mv_xor_probe(struct platform_device *pdev)
static int __devinit mv_xor_probe(struct platform_device *pdev)
{
const struct mbus_dram_target_info *dram;
struct mv_xor_device *xordev;
Expand Down Expand Up @@ -1358,7 +1358,7 @@ static int mv_xor_probe(struct platform_device *pdev)
return ret;
}

static int mv_xor_remove(struct platform_device *pdev)
static int __devexit mv_xor_remove(struct platform_device *pdev)
{
struct mv_xor_device *xordev = platform_get_drvdata(pdev);
int i;
Expand Down Expand Up @@ -1386,7 +1386,7 @@ MODULE_DEVICE_TABLE(of, mv_xor_dt_ids);

static struct platform_driver mv_xor_driver = {
.probe = mv_xor_probe,
.remove = mv_xor_remove,
.remove = __devexit_p(mv_xor_remove),
.driver = {
.owner = THIS_MODULE,
.name = MV_XOR_NAME,
Expand Down

0 comments on commit cd09fea

Please sign in to comment.