diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-22 19:02:01 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-24 00:06:42 +0100 |
commit | b9100facd22ffbc3ae25eb4ba11058889fb9dcdd (patch) | |
tree | 45908a53daab1d2b120cb7bc0c7efd88ad451365 | |
parent | fbf7aeccd038c76184041f5e1c9713bcb3568618 (diff) |
header: include old media header files from new positions
The media header files were reorganized and the platform header files
are now moved to include/linux/platform_data/media/. place some dummy
files there and include the original files from there.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 files changed, 40 insertions, 0 deletions
diff --git a/backport/backport-include/linux/platform_data/media/si4713.h b/backport/backport-include/linux/platform_data/media/si4713.h new file mode 100644 index 00000000..b602bc23 --- /dev/null +++ b/backport/backport-include/linux/platform_data/media/si4713.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_SI4713_H +#define __BACKPORT_SI4713_H +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) +#include_next <linux/platform_data/media/si4713.h> +#else +#include <media/si4713.h> +#endif /* < 4.4 */ + +#endif /* __BACKPORT_SI4713_H */ diff --git a/backport/backport-include/linux/platform_data/media/soc_camera_platform.h b/backport/backport-include/linux/platform_data/media/soc_camera_platform.h new file mode 100644 index 00000000..ce2dd17d --- /dev/null +++ b/backport/backport-include/linux/platform_data/media/soc_camera_platform.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_SOC_CAMERA_H__ +#define __BACKPORT_SOC_CAMERA_H__ +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) +#include_next <linux/platform_data/media/soc_camera_platform.h> +#else +#include <media/soc_camera_platform.h> +#endif /* < 4.4 */ + +#endif /* __BACKPORT_SOC_CAMERA_H__ */ diff --git a/backport/backport-include/linux/platform_data/media/timb_radio.h b/backport/backport-include/linux/platform_data/media/timb_radio.h new file mode 100644 index 00000000..88dd20f7 --- /dev/null +++ b/backport/backport-include/linux/platform_data/media/timb_radio.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_TIMB_RADIO_ +#define __BACKPORT_TIMB_RADIO_ +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) +#include_next <linux/platform_data/media/timb_radio.h> +#else +#include <media/timb_radio.h> +#endif /* < 4.4 */ + +#endif /* __BACKPORT_TIMB_RADIO_ */ diff --git a/backport/backport-include/linux/platform_data/media/timb_video.h b/backport/backport-include/linux/platform_data/media/timb_video.h new file mode 100644 index 00000000..a729ee81 --- /dev/null +++ b/backport/backport-include/linux/platform_data/media/timb_video.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_TIMB_VIDEO_ +#define __BACKPORT_TIMB_VIDEO_ +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) +#include_next <linux/platform_data/media/timb_video.h> +#else +#include <media/timb_video.h> +#endif /* < 4.4 */ + +#endif /* __BACKPORT_TIMB_VIDEO_ */ |