[QUERY] Inclusion of isp.h in board-omap3evm-camera.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux