diff options
author | Kamil Debski <k.debski@samsung.com> | 2011-08-08 12:12:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-21 13:53:37 -0400 |
commit | 1e393e90ab444dd24d28448e92bab099703fd006 (patch) | |
tree | 16d507c03ce212319da9ac202122184280360b20 /drivers | |
parent | ae11e354b80fabdb57ca09a7ff26a89a79396034 (diff) |
[media] media: s5p-mfc: fix section mismatch
Fix section mismatch in the MFC driver.
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/s5p-mfc/s5p_mfc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/media/video/s5p-mfc/s5p_mfc.c b/drivers/media/video/s5p-mfc/s5p_mfc.c index af32e020c527..8be8b54eb749 100644 --- a/drivers/media/video/s5p-mfc/s5p_mfc.c +++ b/drivers/media/video/s5p-mfc/s5p_mfc.c | |||
@@ -940,9 +940,8 @@ static int match_child(struct device *dev, void *data) | |||
940 | return !strcmp(dev_name(dev), (char *)data); | 940 | return !strcmp(dev_name(dev), (char *)data); |
941 | } | 941 | } |
942 | 942 | ||
943 | |||
944 | /* MFC probe function */ | 943 | /* MFC probe function */ |
945 | static int __devinit s5p_mfc_probe(struct platform_device *pdev) | 944 | static int s5p_mfc_probe(struct platform_device *pdev) |
946 | { | 945 | { |
947 | struct s5p_mfc_dev *dev; | 946 | struct s5p_mfc_dev *dev; |
948 | struct video_device *vfd; | 947 | struct video_device *vfd; |
@@ -1236,7 +1235,7 @@ static const struct dev_pm_ops s5p_mfc_pm_ops = { | |||
1236 | NULL) | 1235 | NULL) |
1237 | }; | 1236 | }; |
1238 | 1237 | ||
1239 | static struct platform_driver s5p_mfc_pdrv = { | 1238 | static struct platform_driver s5p_mfc_driver = { |
1240 | .probe = s5p_mfc_probe, | 1239 | .probe = s5p_mfc_probe, |
1241 | .remove = __devexit_p(s5p_mfc_remove), | 1240 | .remove = __devexit_p(s5p_mfc_remove), |
1242 | .driver = { | 1241 | .driver = { |
@@ -1254,15 +1253,15 @@ static int __init s5p_mfc_init(void) | |||
1254 | int ret; | 1253 | int ret; |
1255 | 1254 | ||
1256 | pr_info("%s", banner); | 1255 | pr_info("%s", banner); |
1257 | ret = platform_driver_register(&s5p_mfc_pdrv); | 1256 | ret = platform_driver_register(&s5p_mfc_driver); |
1258 | if (ret) | 1257 | if (ret) |
1259 | pr_err("Platform device registration failed.\n"); | 1258 | pr_err("Platform device registration failed.\n"); |
1260 | return ret; | 1259 | return ret; |
1261 | } | 1260 | } |
1262 | 1261 | ||
1263 | static void __devexit s5p_mfc_exit(void) | 1262 | static void __exit s5p_mfc_exit(void) |
1264 | { | 1263 | { |
1265 | platform_driver_unregister(&s5p_mfc_pdrv); | 1264 | platform_driver_unregister(&s5p_mfc_driver); |
1266 | } | 1265 | } |
1267 | 1266 | ||
1268 | module_init(s5p_mfc_init); | 1267 | module_init(s5p_mfc_init); |