Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298809
b: refs/heads/master
c: efa25fd
h: refs/heads/master
i:
  298807: f60fa72
v: v3
  • Loading branch information
Felipe Balbi authored and Chris Ball committed Apr 6, 2012
1 parent 6efb744 commit 819710c
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: 927ce944aebdcac0fa757d4e6448a6972184db8c
refs/heads/master: efa25fd3a33275861aa74ff03a512423873a8805
9 changes: 5 additions & 4 deletions trunk/drivers/mmc/host/omap_hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ static inline struct omap_mmc_platform_data
}
#endif

static int __init omap_hsmmc_probe(struct platform_device *pdev)
static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
{
struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
struct mmc_host *mmc;
Expand Down Expand Up @@ -2036,7 +2036,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
return ret;
}

static int omap_hsmmc_remove(struct platform_device *pdev)
static int __devexit omap_hsmmc_remove(struct platform_device *pdev)
{
struct omap_hsmmc_host *host = platform_get_drvdata(pdev);
struct resource *res;
Expand Down Expand Up @@ -2194,7 +2194,8 @@ static struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
};

static struct platform_driver omap_hsmmc_driver = {
.remove = omap_hsmmc_remove,
.probe = omap_hsmmc_probe,
.remove = __devexit_p(omap_hsmmc_remove),
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
Expand All @@ -2206,7 +2207,7 @@ static struct platform_driver omap_hsmmc_driver = {
static int __init omap_hsmmc_init(void)
{
/* Register the MMC driver */
return platform_driver_probe(&omap_hsmmc_driver, omap_hsmmc_probe);
return platform_driver_register(&omap_hsmmc_driver);
}

static void __exit omap_hsmmc_cleanup(void)
Expand Down

0 comments on commit 819710c

Please sign in to comment.