@@ -33,7 +33,7 @@
#include <linux/dma-mapping.h>
#include <linux/leds.h>
#include <linux/platform_data/asoc-mx27vis.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <sound/tlv320aic32x4.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -31,7 +31,7 @@
#include <linux/regulator/machine.h>
#include <linux/spi/l4f00242t03.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -28,7 +28,7 @@
#include <linux/usb/ulpi.h>
#include <linux/memblock.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -45,7 +45,7 @@
#include <video/platform_lcd.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include "3ds_debugboard.h"
#include "common.h"
@@ -35,7 +35,7 @@
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -24,7 +24,7 @@
#include <linux/usb/otg.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include "common.h"
#include "devices-imx31.h"
@@ -23,7 +23,7 @@
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include "board-mx31moboard.h"
#include "common.h"
@@ -28,7 +28,7 @@
#include <linux/io.h>
#include <linux/platform_data/gpio-omap.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/serial.h>
#include <asm/mach-types.h>
@@ -1,7 +1,7 @@
#ifndef __ASM_ARCH_CAMERA_H_
#define __ASM_ARCH_CAMERA_H_
-#include <media/omap1_camera.h>
+#include <media/platform/omap1_camera.h>
void omap1_camera_init(void *);
@@ -34,7 +34,7 @@
#include <linux/i2c/pxa-i2c.h>
#include <linux/regulator/userspace-consumer.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -22,7 +22,7 @@
#include <linux/leds-lp3944.h>
#include <linux/i2c/pxa-i2c.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/setup.h>
#include <asm/mach-types.h>
@@ -56,7 +56,7 @@
#include <linux/platform_data/camera-pxa.h>
#include <mach/audio.h>
#include <mach/smemc.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <mach/mioa701.h>
@@ -51,7 +51,7 @@
#include <mach/pm.h>
#include <linux/platform_data/camera-pxa.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include "generic.h"
#include "devices.h"
@@ -27,7 +27,7 @@
#include <linux/pwm_backlight.h>
#include <media/i2c/mt9v022.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <linux/platform_data/camera-pxa.h>
#include <asm/mach/map.h>
@@ -31,7 +31,7 @@
#include <linux/spi/flash.h>
#include <linux/usb/renesas_usbhs.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <asm/mach/arch.h>
#include <sound/rcar_snd.h>
#include <sound/simple_card.h>
@@ -36,7 +36,7 @@
#include <linux/platform_data/s3c-hsotg.h>
#include <linux/platform_data/dma-s3c24xx.h>
-#include <media/s5p_hdmi.h>
+#include <media/platform/s5p_hdmi.h>
#include <asm/irq.h>
#include <asm/mach/arch.h>
@@ -28,9 +28,9 @@
#include <linux/videodev2.h>
#include <linux/sh_intc.h>
#include <media/i2c/ov772x.h>
-#include <media/soc_camera.h>
-#include <media/soc_camera_platform.h>
-#include <media/sh_mobile_ceu.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_camera_platform.h>
+#include <media/platform/sh_mobile_ceu.h>
#include <video/sh_mobile_lcdc.h>
#include <asm/io.h>
#include <asm/clock.h>
@@ -38,8 +38,8 @@
#include <video/sh_mobile_lcdc.h>
#include <sound/sh_fsi.h>
#include <sound/simple_card.h>
-#include <media/sh_mobile_ceu.h>
-#include <media/soc_camera.h>
+#include <media/platform/sh_mobile_ceu.h>
+#include <media/platform/soc_camera.h>
#include <media/i2c/tw9910.h>
#include <media/i2c/mt9t112.h>
#include <asm/heartbeat.h>
@@ -901,7 +901,7 @@ static struct platform_device irda_device = {
};
#include <media/i2c/ak881x.h>
-#include <media/sh_vou.h>
+#include <media/platform/sh_vou.h>
static struct ak881x_pdata ak881x_pdata = {
.flags = AK881X_IF_MODE_SLAVE,
@@ -28,8 +28,8 @@
#include <linux/videodev2.h>
#include <linux/sh_intc.h>
#include <media/i2c/rj54n1cb0c.h>
-#include <media/soc_camera.h>
-#include <media/sh_mobile_ceu.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/sh_mobile_ceu.h>
#include <video/sh_mobile_lcdc.h>
#include <asm/suspend.h>
#include <asm/clock.h>
@@ -27,9 +27,9 @@
#include <linux/videodev2.h>
#include <linux/sh_intc.h>
#include <video/sh_mobile_lcdc.h>
-#include <media/sh_mobile_ceu.h>
+#include <media/platform/sh_mobile_ceu.h>
#include <media/i2c/ov772x.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/i2c/tw9910.h>
#include <asm/clock.h>
#include <asm/machvec.h>
@@ -30,7 +30,7 @@
#include <linux/sh_intc.h>
#include <linux/videodev2.h>
#include <video/sh_mobile_lcdc.h>
-#include <media/sh_mobile_ceu.h>
+#include <media/platform/sh_mobile_ceu.h>
#include <sound/sh_fsi.h>
#include <sound/simple_card.h>
#include <asm/io.h>
@@ -535,7 +535,7 @@ static struct platform_device irda_device = {
};
#include <media/i2c/ak881x.h>
-#include <media/sh_vou.h>
+#include <media/platform/sh_vou.h>
static struct ak881x_pdata ak881x_pdata = {
.flags = AK881X_IF_MODE_SLAVE,
@@ -26,7 +26,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-subdev.h>
#include <media/i2c/m5mols.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "m5mols.h"
#include "m5mols_reg.h"
@@ -17,7 +17,7 @@
#include <linux/videodev2.h>
#include <linux/module.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-async.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
@@ -14,8 +14,8 @@
#include <linux/log2.h>
#include <linux/module.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-ctrls.h>
@@ -16,7 +16,7 @@
#include <linux/v4l2-mediabus.h>
#include <linux/module.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ctrls.h>
@@ -17,7 +17,7 @@
#include <linux/videodev2.h>
#include <linux/module.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-ctrls.h>
@@ -26,7 +26,7 @@
#include <linux/videodev2.h>
#include <media/i2c/mt9t112.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-common.h>
#include <media/v4l2-image-sizes.h>
@@ -16,8 +16,8 @@
#include <linux/module.h>
#include <media/i2c/mt9v022.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-ctrls.h>
@@ -24,7 +24,7 @@
#include <linux/v4l2-mediabus.h>
#include <linux/videodev2.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-ctrls.h>
@@ -23,7 +23,7 @@
#include <linux/module.h>
#include <linux/v4l2-mediabus.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
@@ -31,7 +31,7 @@
#include <linux/v4l2-mediabus.h>
#include <linux/module.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-ctrls.h>
@@ -25,7 +25,7 @@
#include <linux/videodev2.h>
#include <media/i2c/ov772x.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-ctrls.h>
#include <media/v4l2-subdev.h>
@@ -27,7 +27,7 @@
#include <linux/v4l2-mediabus.h>
#include <linux/videodev2.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ctrls.h>
@@ -16,7 +16,7 @@
#include <linux/slab.h>
#include <linux/v4l2-mediabus.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-ctrls.h>
@@ -16,7 +16,7 @@
#include <linux/module.h>
#include <media/i2c/rj54n1cb0c.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-ctrls.h>
@@ -25,7 +25,7 @@
#include <linux/v4l2-mediabus.h>
#include <linux/videodev2.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/i2c/tw9910.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-subdev.h>
@@ -10,7 +10,7 @@
*/
#include <linux/module.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "common.h"
/* Called with the media graph mutex held or entity->stream_count > 0. */
@@ -27,7 +27,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-mem2mem.h>
#include <media/v4l2-mediabus.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#define dbg(fmt, args...) \
pr_debug("%s:%d: " fmt "\n", __func__, __LINE__, ##args)
@@ -30,7 +30,7 @@
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-v4l2.h>
#include <media/videobuf2-dma-contig.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "common.h"
#include "media-dev.h"
@@ -24,7 +24,7 @@
#include <media/videobuf2-v4l2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-mediabus.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
extern int fimc_isp_debug;
@@ -12,7 +12,7 @@
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/io.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "fimc-lite-reg.h"
#include "fimc-lite.h"
@@ -30,7 +30,7 @@
#include <media/v4l2-mem2mem.h>
#include <media/videobuf2-v4l2.h>
#include <media/videobuf2-dma-contig.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "common.h"
#include "fimc-core.h"
@@ -23,7 +23,7 @@
#include <media/v4l2-ctrls.h>
#include <media/v4l2-device.h>
#include <media/v4l2-mediabus.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#define FIMC_LITE_DRV_NAME "exynos-fimc-lite"
#define FLITE_CLK_NAME "flite"
@@ -13,7 +13,7 @@
#include <linux/io.h>
#include <linux/regmap.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "media-dev.h"
#include "fimc-reg.h"
@@ -31,7 +31,7 @@
#include <media/v4l2-ctrls.h>
#include <media/v4l2-of.h>
#include <media/media-device.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "media-dev.h"
#include "fimc-core.h"
@@ -19,7 +19,7 @@
#include <media/media-entity.h>
#include <media/v4l2-device.h>
#include <media/v4l2-subdev.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include "fimc-core.h"
#include "fimc-lite.h"
@@ -29,7 +29,7 @@
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/videodev2.h>
-#include <media/exynos-fimc.h>
+#include <media/platform/exynos-fimc.h>
#include <media/v4l2-of.h>
#include <media/v4l2-subdev.h>
@@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
-#include <media/mmp-camera.h>
+#include <media/platform/mmp-camera.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
@@ -26,7 +26,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-mediabus.h>
#include <media/videobuf2-v4l2.h>
-#include <media/s3c_camif.h>
+#include <media/platform/s3c_camif.h>
#define S3C_CAMIF_DRIVER_NAME "s3c-camif"
#define CAMIF_REQ_BUFS_MIN 3
@@ -13,7 +13,7 @@
#define CAMIF_REGS_H_
#include "camif-core.h"
-#include <media/s3c_camif.h>
+#include <media/platform/s3c_camif.h>
/*
* The id argument indicates the processing path:
@@ -33,7 +33,7 @@
#include <linux/regulator/consumer.h>
#include <linux/v4l2-dv-timings.h>
-#include <media/s5p_hdmi.h>
+#include <media/platform/s5p_hdmi.h>
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-device.h>
@@ -23,7 +23,7 @@
#include <linux/regulator/machine.h>
#include <linux/slab.h>
-#include <media/sii9234.h>
+#include <media/platform/sii9234.h>
#include <media/v4l2-subdev.h>
MODULE_AUTHOR("Tomasz Stanislawski <t.stanislaws@samsung.com>");
@@ -22,7 +22,7 @@
#include <linux/videodev2.h>
#include <linux/module.h>
-#include <media/sh_vou.h>
+#include <media/platform/sh_vou.h>
#include <media/v4l2-common.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
@@ -23,8 +23,8 @@
#include <linux/pm_runtime.h>
#include <linux/slab.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-of.h>
#include <media/videobuf2-dma-contig.h>
@@ -34,8 +34,8 @@
#include <media/v4l2-dev.h>
#include <media/videobuf2-v4l2.h>
#include <media/videobuf2-dma-contig.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <linux/videodev2.h>
@@ -22,8 +22,8 @@
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>
#include <media/videobuf2-dma-contig.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <linux/platform_data/camera-mx3.h>
#include <linux/platform_data/dma-imx.h>
@@ -28,9 +28,9 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
-#include <media/omap1_camera.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/omap1_camera.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/videobuf-dma-contig.h>
#include <media/videobuf-dma-sg.h>
@@ -32,8 +32,8 @@
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>
#include <media/videobuf-dma-sg.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-of.h>
#include <linux/videodev2.h>
@@ -27,8 +27,8 @@
#include <linux/slab.h>
#include <linux/videodev2.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-device.h>
@@ -39,12 +39,12 @@
#include <media/v4l2-async.h>
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>
-#include <media/soc_camera.h>
-#include <media/sh_mobile_ceu.h>
-#include <media/sh_mobile_csi2.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/sh_mobile_ceu.h>
+#include <media/platform/sh_mobile_csi2.h>
#include <media/videobuf2-dma-contig.h>
#include <media/v4l2-mediabus.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_mediabus.h>
#include "soc_scale_crop.h"
@@ -18,10 +18,10 @@
#include <linux/videodev2.h>
#include <linux/module.h>
-#include <media/sh_mobile_ceu.h>
-#include <media/sh_mobile_csi2.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/sh_mobile_ceu.h>
+#include <media/platform/sh_mobile_csi2.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-device.h>
@@ -29,8 +29,8 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>
-#include <media/soc_camera.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_mediabus.h>
#include <media/v4l2-async.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-common.h>
@@ -17,8 +17,8 @@
#include <linux/platform_device.h>
#include <linux/videodev2.h>
#include <media/v4l2-subdev.h>
-#include <media/soc_camera.h>
-#include <media/soc_camera_platform.h>
+#include <media/platform/soc_camera.h>
+#include <media/platform/soc_camera_platform.h>
struct soc_camera_platform_priv {
struct v4l2_subdev subdev;
@@ -13,7 +13,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-mediabus.h>
-#include <media/soc_mediabus.h>
+#include <media/platform/soc_mediabus.h>
static const struct soc_mbus_lookup mbus_fmt[] = {
{
@@ -12,7 +12,7 @@
#include <linux/device.h>
#include <linux/module.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-common.h>
#include "soc_scale_crop.h"
@@ -20,7 +20,7 @@
*/
#include <linux/i2c.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/i2c/mt9v011.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-common.h>
@@ -20,7 +20,7 @@
#include <linux/platform_device.h>
#include <linux/wait.h>
-#include <media/omap4iss.h>
+#include <media/platform/omap4iss.h>
#include "iss_regs.h"
#include "iss_csiphy.h"
@@ -14,7 +14,7 @@
#ifndef OMAP4_ISS_CSI_PHY_H
#define OMAP4_ISS_CSI_PHY_H
-#include <media/omap4iss.h>
+#include <media/platform/omap4iss.h>
struct iss_csi2_device;
@@ -16,7 +16,7 @@
#ifndef __TW9910_H__
#define __TW9910_H__
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
enum tw9910_mpout_pin {
TW9910_MPO_VLOSS,
similarity index 100%
rename from include/media/exynos-fimc.h
rename to include/media/platform/exynos-fimc.h
similarity index 100%
rename from include/media/mmp-camera.h
rename to include/media/platform/mmp-camera.h
similarity index 100%
rename from include/media/omap1_camera.h
rename to include/media/platform/omap1_camera.h
similarity index 100%
rename from include/media/omap4iss.h
rename to include/media/platform/omap4iss.h
similarity index 100%
rename from include/media/s3c_camif.h
rename to include/media/platform/s3c_camif.h
similarity index 100%
rename from include/media/s5p_hdmi.h
rename to include/media/platform/s5p_hdmi.h
similarity index 100%
rename from include/media/sh_mobile_ceu.h
rename to include/media/platform/sh_mobile_ceu.h
similarity index 100%
rename from include/media/sh_mobile_csi2.h
rename to include/media/platform/sh_mobile_csi2.h
similarity index 100%
rename from include/media/sh_vou.h
rename to include/media/platform/sh_vou.h
similarity index 100%
rename from include/media/sii9234.h
rename to include/media/platform/sii9234.h
similarity index 100%
rename from include/media/soc_camera.h
rename to include/media/platform/soc_camera.h
similarity index 98%
rename from include/media/soc_camera_platform.h
rename to include/media/platform/soc_camera_platform.h
@@ -12,7 +12,7 @@
#define __SOC_CAMERA_H__
#include <linux/videodev2.h>
-#include <media/soc_camera.h>
+#include <media/platform/soc_camera.h>
#include <media/v4l2-mediabus.h>
struct device;
Let's not mix headers used by the core with those headers that are needed by some specific platform drivers. This patch was made via this script: mkdir include/media/platform for i in include/media/*.h; do n=`basename $i`; (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep platform list`" != "" ]; then git mv $i include/media/platform; fi; fi; done git mv include/media/exynos* include/media/s5p* include/media/omap* include/media/soc_* include/media/sh_include/media/platform/ for i in $(find include/media/ -type f); do n=`basename $i`; git grep -l $n; done|sort|uniq >files && (echo "for i in \$(cat files); do cat \$i | \\"; cd include/media; for j in rc/ i2c/ platform/ common_drv/; do for i in $(ls $j); do echo "perl -ne 's,(include [\\\"\\<]media/)($i)([\\\"\\>]),\1$j\2\3,; print \$_' |\\"; done; done; echo "cat > a && mv a \$i; done") >script && . ./script Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> rename include/media/{ => platform}/exynos-fimc.h (100%) rename include/media/{ => platform}/mmp-camera.h (100%) rename include/media/{ => platform}/omap1_camera.h (100%) rename include/media/{ => platform}/omap4iss.h (100%) rename include/media/{ => platform}/s3c_camif.h (100%) rename include/media/{ => platform}/s5p_hdmi.h (100%) rename include/media/{ => platform}/sh_mobile_ceu.h (100%) rename include/media/{ => platform}/sh_mobile_csi2.h (100%) rename include/media/{ => platform}/sh_vou.h (100%) rename include/media/{ => platform}/sii9234.h (100%) rename include/media/{ => platform}/soc_camera.h (100%) rename include/media/{ => platform}/soc_camera_platform.h (98%) rename include/media/{ => platform}/soc_mediabus.h (100%) diff --git a/include/media/soc_mediabus.h b/include/media/platform/soc_mediabus.h similarity index 100% rename from include/media/soc_mediabus.h rename to include/media/platform/soc_mediabus.h