summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/devices.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2009-12-14 08:09:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 04:53:42 -0300
commita11f6706ca4473c2df3f72a306d9b9fee6512a33 (patch)
tree7c3b1a769392dab56f1c8c9d39a70139abc45032 /arch/arm/mach-omap2/devices.h
parent837c83283daa5ae3831c4dff6bdb75e26aeab4b0 (diff)
[media] omap3: Add function to register omap3isp platform device structure
The omap3isp platform device requires platform data. Instead of registering the device in omap2_init_devices(), export an omap3_init_camera() function to fill the device structure with the platform data pointer and register the device. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.h')
-rw-r--r--arch/arm/mach-omap2/devices.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/devices.h b/arch/arm/mach-omap2/devices.h
new file mode 100644
index 000000000000..f61eb6e5d136
--- /dev/null
+++ b/arch/arm/mach-omap2/devices.h
@@ -0,0 +1,19 @@
+/*
+ * arch/arm/mach-omap2/devices.h
+ *
+ * OMAP2 platform device setup/initialization
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef __ARCH_ARM_MACH_OMAP_DEVICES_H
+#define __ARCH_ARM_MACH_OMAP_DEVICES_H
+
+struct isp_platform_data;
+
+int omap3_init_camera(struct isp_platform_data *pdata);
+
+#endif