I need to use some isp structures ( isp_v4l2_subdevs_group, isp_platform_data 
,isp_subdev_i2c_board_info etc.) in  board-omap3evm-camera.c. For that header 
file isp.h has to be included .
Currently I am including it in this way:

#include <../drivers/media/video/omap3isp/isp.h>

 Is there a better way to do this ? The relevant hunk of the patch is shown 
below:

diff --git a/arch/arm/mach-omap2/board-omap3evm-camera.c 
b/arch/arm/mach-omap2/board-omap3evm-camera.c
new file mode 100644
index 0000000..319a6a1
--- /dev/null
+++ b/arch/arm/mach-omap2/board-omap3evm-camera.c
+#include <linux/io.h>
+#include <linux/i2c.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/regulator/consumer.h>
+
+#include <mach/gpio.h>
+
+#include <media/tvp514x.h>
+
+#include <../drivers/media/video/omap3isp/isp.h> 



--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to