diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 03:08:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 03:08:53 -0400 |
commit | 664a41b8a91bf78a01a751e15175e0008977685a (patch) | |
tree | d9dc15c83400ad2dfb430ff27ae3e7fdc9395856 /arch/arm/mach-shmobile | |
parent | 983236b5741e557451f3ed4ec5ebf1f62a5b2c15 (diff) | |
parent | ee2ce3a0b43d14d792d34cf88e7bc2091096744b (diff) |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (430 commits)
[media] ir-mce_kbd-decoder: include module.h for its facilities
[media] ov5642: include module.h for its facilities
[media] em28xx: Fix DVB-C maxsize for em2884
[media] tda18271c2dd: Fix saw filter configuration for DVB-C @6MHz
[media] v4l: mt9v032: Fix Bayer pattern
[media] V4L: mt9m111: rewrite set_pixfmt
[media] V4L: mt9m111: fix missing return value check mt9m111_reg_clear
[media] V4L: initial driver for ov5642 CMOS sensor
[media] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails
[media] V4L: soc-camera: remove soc-camera bus and devices on it
[media] V4L: soc-camera: un-export the soc-camera bus
[media] V4L: sh_mobile_csi2: switch away from using the soc-camera bus notifier
[media] V4L: add media bus configuration subdev operations
[media] V4L: soc-camera: group struct field initialisations together
[media] V4L: soc-camera: remove now unused soc-camera specific PM hooks
[media] V4L: pxa-camera: switch to using standard PM hooks
[media] NetUP Dual DVB-T/C CI RF: force card hardware revision by module param
[media] Don't OOPS if videobuf_dvb_get_frontend return NULL
[media] NetUP Dual DVB-T/C CI RF: load firmware according card revision
[media] omap3isp: Support configurable HS/VS polarities
...
Fix up conflicts:
- arch/arm/mach-omap2/board-rx51-peripherals.c:
cleanup regulator supply definitions in mach-omap2
vs
OMAP3: RX-51: define vdds_csib regulator supply
- drivers/staging/tm6000/tm6000-alsa.c (trivial)
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 13 |
2 files changed, 10 insertions, 15 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 837138e369bc..9e0856b2f9e9 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -957,19 +957,16 @@ static struct resource csi2_resources[] = { | |||
957 | }, | 957 | }, |
958 | }; | 958 | }; |
959 | 959 | ||
960 | static struct platform_device csi2_device = { | 960 | static struct sh_mobile_ceu_companion csi2 = { |
961 | .name = "sh-mobile-csi2", | 961 | .id = 0, |
962 | .id = 0, | ||
963 | .num_resources = ARRAY_SIZE(csi2_resources), | 962 | .num_resources = ARRAY_SIZE(csi2_resources), |
964 | .resource = csi2_resources, | 963 | .resource = csi2_resources, |
965 | .dev = { | 964 | .platform_data = &csi2_info, |
966 | .platform_data = &csi2_info, | ||
967 | }, | ||
968 | }; | 965 | }; |
969 | 966 | ||
970 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | 967 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { |
971 | .flags = SH_CEU_FLAG_USE_8BIT_BUS, | 968 | .flags = SH_CEU_FLAG_USE_8BIT_BUS, |
972 | .csi2_dev = &csi2_device.dev, | 969 | .csi2 = &csi2, |
973 | }; | 970 | }; |
974 | 971 | ||
975 | static struct resource ceu_resources[] = { | 972 | static struct resource ceu_resources[] = { |
@@ -1013,7 +1010,6 @@ static struct platform_device *ap4evb_devices[] __initdata = { | |||
1013 | &lcdc1_device, | 1010 | &lcdc1_device, |
1014 | &lcdc_device, | 1011 | &lcdc_device, |
1015 | &hdmi_device, | 1012 | &hdmi_device, |
1016 | &csi2_device, | ||
1017 | &ceu_device, | 1013 | &ceu_device, |
1018 | &ap4evb_camera, | 1014 | &ap4evb_camera, |
1019 | &meram_device, | 1015 | &meram_device, |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 5b36b6c5b448..d41c01f83f15 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 | ||
1195 | static int mackerel_camera_add(struct soc_camera_link *icl, struct device *dev); | 1195 | static int mackerel_camera_add(struct soc_camera_device *icd); |
1196 | static void mackerel_camera_del(struct soc_camera_link *icl); | 1196 | static void mackerel_camera_del(struct soc_camera_device *icd); |
1197 | 1197 | ||
1198 | static int camera_set_capture(struct soc_camera_platform_info *info, | 1198 | static 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 | ||
1235 | static int mackerel_camera_add(struct soc_camera_link *icl, | 1235 | static 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 | ||
1242 | static void mackerel_camera_del(struct soc_camera_link *icl) | 1241 | static 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 | ||
1247 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | 1246 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { |