aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-mackerel.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-15 19:03:38 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:56:08 -0400
commit7dfff95366f48bf66f77c17cdc9ebd8be696ac5d (patch)
treec4cb975f5b8b8c3008921d38fa6e4deed9c8dbc9 /arch/arm/mach-shmobile/board-mackerel.c
parentd33b290a149dafe2e3cc2901ec726bea09a2c0f4 (diff)
[media] V4L: soc-camera: remove soc-camera bus and devices on it
Now that v4l2 subdevices have got their own device objects, having one more device in soc-camera clients became redundant and confusing. This patch removes those devices and the soc-camera bus, they used to reside on. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 3802f2afabef..1610fbf1a764 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -1192,8 +1192,8 @@ static struct platform_device sh_mmcif_device = {
1192}; 1192};
1193 1193
1194 1194
1195static int mackerel_camera_add(struct soc_camera_link *icl, struct device *dev); 1195static int mackerel_camera_add(struct soc_camera_device *icd);
1196static void mackerel_camera_del(struct soc_camera_link *icl); 1196static void mackerel_camera_del(struct soc_camera_device *icd);
1197 1197
1198static int camera_set_capture(struct soc_camera_platform_info *info, 1198static int camera_set_capture(struct soc_camera_platform_info *info,
1199 int enable) 1199 int enable)
@@ -1232,16 +1232,15 @@ static void mackerel_camera_release(struct device *dev)
1232 soc_camera_platform_release(&camera_device); 1232 soc_camera_platform_release(&camera_device);
1233} 1233}
1234 1234
1235static int mackerel_camera_add(struct soc_camera_link *icl, 1235static int mackerel_camera_add(struct soc_camera_device *icd)
1236 struct device *dev)
1237{ 1236{
1238 return soc_camera_platform_add(icl, dev, &camera_device, &camera_link, 1237 return soc_camera_platform_add(icd, &camera_device, &camera_link,
1239 mackerel_camera_release, 0); 1238 mackerel_camera_release, 0);
1240} 1239}
1241 1240
1242static void mackerel_camera_del(struct soc_camera_link *icl) 1241static void mackerel_camera_del(struct soc_camera_device *icd)
1243{ 1242{
1244 soc_camera_platform_del(icl, camera_device, &camera_link); 1243 soc_camera_platform_del(icd, camera_device, &camera_link);
1245} 1244}
1246 1245
1247static struct sh_mobile_ceu_info sh_mobile_ceu_info = { 1246static struct sh_mobile_ceu_info sh_mobile_ceu_info = {