Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271860
b: refs/heads/master
c: 1e393e9
h: refs/heads/master
v: v3
  • Loading branch information
Kamil Debski authored and Mauro Carvalho Chehab committed Sep 21, 2011
1 parent 7abb5bd commit 76c91bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: ae11e354b80fabdb57ca09a7ff26a89a79396034
refs/heads/master: 1e393e90ab444dd24d28448e92bab099703fd006
11 changes: 5 additions & 6 deletions trunk/drivers/media/video/s5p-mfc/s5p_mfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,8 @@ static int match_child(struct device *dev, void *data)
return !strcmp(dev_name(dev), (char *)data);
}


/* MFC probe function */
static int __devinit s5p_mfc_probe(struct platform_device *pdev)
static int s5p_mfc_probe(struct platform_device *pdev)
{
struct s5p_mfc_dev *dev;
struct video_device *vfd;
Expand Down Expand Up @@ -1236,7 +1235,7 @@ static const struct dev_pm_ops s5p_mfc_pm_ops = {
NULL)
};

static struct platform_driver s5p_mfc_pdrv = {
static struct platform_driver s5p_mfc_driver = {
.probe = s5p_mfc_probe,
.remove = __devexit_p(s5p_mfc_remove),
.driver = {
Expand All @@ -1254,15 +1253,15 @@ static int __init s5p_mfc_init(void)
int ret;

pr_info("%s", banner);
ret = platform_driver_register(&s5p_mfc_pdrv);
ret = platform_driver_register(&s5p_mfc_driver);
if (ret)
pr_err("Platform device registration failed.\n");
return ret;
}

static void __devexit s5p_mfc_exit(void)
static void __exit s5p_mfc_exit(void)
{
platform_driver_unregister(&s5p_mfc_pdrv);
platform_driver_unregister(&s5p_mfc_driver);
}

module_init(s5p_mfc_init);
Expand Down

0 comments on commit 76c91bd

Please sign in to comment.