Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307964
b: refs/heads/master
c: b6e0703
h: refs/heads/master
v: v3
  • Loading branch information
Venkatraman S authored and Chris Ball committed May 17, 2012
1 parent 3a01582 commit 1702b96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b01a4f1ce2cde9acd97ce5c06e35bc9c1eacded7
refs/heads/master: b6e0703bbf0121cd6440277a0604d860f5734b2c
9 changes: 5 additions & 4 deletions trunk/drivers/mmc/host/omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ static void mmc_omap_remove_slot(struct mmc_omap_slot *slot)
mmc_free_host(mmc);
}

static int __init mmc_omap_probe(struct platform_device *pdev)
static int __devinit mmc_omap_probe(struct platform_device *pdev)
{
struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
struct mmc_omap_host *host = NULL;
Expand Down Expand Up @@ -1522,7 +1522,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
return ret;
}

static int mmc_omap_remove(struct platform_device *pdev)
static int __devexit mmc_omap_remove(struct platform_device *pdev)
{
struct mmc_omap_host *host = platform_get_drvdata(pdev);
int i;
Expand Down Expand Up @@ -1604,7 +1604,8 @@ static int mmc_omap_resume(struct platform_device *pdev)
#endif

static struct platform_driver mmc_omap_driver = {
.remove = mmc_omap_remove,
.probe = mmc_omap_probe,
.remove = __devexit_p(mmc_omap_remove),
.suspend = mmc_omap_suspend,
.resume = mmc_omap_resume,
.driver = {
Expand All @@ -1615,7 +1616,7 @@ static struct platform_driver mmc_omap_driver = {

static int __init mmc_omap_init(void)
{
return platform_driver_probe(&mmc_omap_driver, mmc_omap_probe);
return platform_driver_register(&mmc_omap_driver);
}

static void __exit mmc_omap_exit(void)
Expand Down

0 comments on commit 1702b96

Please sign in to comment.