diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2010-10-01 16:37:00 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-10-01 16:37:00 -0700 |
commit | 1a96edd70c1f4b4a1904803f8a83900087f4d1da (patch) | |
tree | 899632b9589c8b8fe91b5e5891e5d4995e515650 /arch/arm/mach-omap1/include | |
parent | 7ad0e386d46e9edff64705ab25337ad9130baf63 (diff) |
OMAP1: Add support for SoC camera interface
This patch adds a definition of the OMAP1 camera interface platform device,
and a function that allows for providing a board specific platform data.
The device will be used with the upcoming OMAP1 SoC camera interface driver.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/include')
-rw-r--r-- | arch/arm/mach-omap1/include/mach/camera.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/include/mach/camera.h b/arch/arm/mach-omap1/include/mach/camera.h new file mode 100644 index 00000000000..fd54b452eb2 --- /dev/null +++ b/arch/arm/mach-omap1/include/mach/camera.h @@ -0,0 +1,11 @@ +#ifndef __ASM_ARCH_CAMERA_H_ +#define __ASM_ARCH_CAMERA_H_ + +void omap1_camera_init(void *); + +static inline void omap1_set_camera_info(struct omap1_cam_platform_data *info) +{ + omap1_camera_init(info); +} + +#endif /* __ASM_ARCH_CAMERA_H_ */ |