From 2b1c6b21b5e6c82ebb55d7fb7df90e60e88cbb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sat, 10 Sep 2016 14:54:26 +0200 Subject: brcm2708: update linux 4.4 patches to latest version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also adds support for Raspberry Pi Compute Module 3 (untested). Signed-off-by: Álvaro Fernández Rojas --- ...c4-add-extern-C-guard-for-the-UAPI-header.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.4/0458-drm-vc4-add-extern-C-guard-for-the-UAPI-header.patch (limited to 'target/linux/brcm2708/patches-4.4/0458-drm-vc4-add-extern-C-guard-for-the-UAPI-header.patch') diff --git a/target/linux/brcm2708/patches-4.4/0458-drm-vc4-add-extern-C-guard-for-the-UAPI-header.patch b/target/linux/brcm2708/patches-4.4/0458-drm-vc4-add-extern-C-guard-for-the-UAPI-header.patch new file mode 100644 index 0000000000..3b32bf867e --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0458-drm-vc4-add-extern-C-guard-for-the-UAPI-header.patch @@ -0,0 +1,34 @@ +From 2f037770b9fedc29f75847a8323ffca49244e140 Mon Sep 17 00:00:00 2001 +From: Emil Velikov +Date: Thu, 7 Apr 2016 19:36:57 +0100 +Subject: [PATCH] drm/vc4: add extern C guard for the UAPI header + +Cc: Eric Anholt +Signed-off-by: Emil Velikov +(cherry picked from commit 6a982350f892c286c645a6fe0e1da1f869a0c43f) +--- + include/uapi/drm/vc4_drm.h | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- a/include/uapi/drm/vc4_drm.h ++++ b/include/uapi/drm/vc4_drm.h +@@ -26,6 +26,10 @@ + + #include "drm.h" + ++#if defined(__cplusplus) ++extern "C" { ++#endif ++ + #define DRM_VC4_SUBMIT_CL 0x00 + #define DRM_VC4_WAIT_SEQNO 0x01 + #define DRM_VC4_WAIT_BO 0x02 +@@ -276,4 +280,8 @@ struct drm_vc4_get_hang_state { + __u32 pad[16]; + }; + ++#if defined(__cplusplus) ++} ++#endif ++ + #endif /* _UAPI_VC4_DRM_H_ */ -- cgit v1.2.3