From patchwork Tue Jul 15 15:54:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hadrien Boutteville X-Patchwork-Id: 370068 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 6D664140078 for ; Wed, 16 Jul 2014 01:53:46 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2D6C78B040; Tue, 15 Jul 2014 15:53:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNsLwFPLXxvi; Tue, 15 Jul 2014 15:53:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 65D5488518; Tue, 15 Jul 2014 15:53:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 90C131C0E31 for ; Tue, 15 Jul 2014 15:53:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8C4798A36A for ; Tue, 15 Jul 2014 15:53:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6t5skDBC3E7a for ; Tue, 15 Jul 2014 15:53:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4598F8956F for ; Tue, 15 Jul 2014 15:53:41 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id ho1so4612007wib.14 for ; Tue, 15 Jul 2014 08:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=AzwaeNBHjeu0OPBawgDB2tZL42/PstyO310z6vxNvvE=; b=Ic5+WSkoJkrjB+237cZ2hA4JZ2EVpiKQG//zOWuQG93qVdruitlxn7S80ECM025UAK CLG+Y5C+3oezuB0wcC8uQnFnquTnpx9adl+kXvBxBFusAadaUcSYD3PeEq3RH3WAmVDj f8eMy+QOOIQZlvSVA281/HGDqFV3DcmycKWp1H5yJZdaikWKe3cdkgL459CEPMaicZ7t TEsm3eyZOZikS//r1tir9ySDocAz7IlL0uD90buUW5IuoaSGTPAvC153+UrHgiC/eRit 32A8X46qmCBiNnQ6f0h2s6tEmdmrooOuj1ZVZmBRUbfbd8Mr27YvU8WYNXLiB09tUvCo vZvQ== X-Received: by 10.194.71.132 with SMTP id v4mr13752603wju.102.1405439619775; Tue, 15 Jul 2014 08:53:39 -0700 (PDT) Received: from antalgix.daviel.openwide.fr. ([193.56.60.160]) by mx.google.com with ESMTPSA id ev9sm45138789wic.24.2014.07.15.08.53.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Jul 2014 08:53:39 -0700 (PDT) From: Hadrien Boutteville To: buildroot@buildroot.org Date: Tue, 15 Jul 2014 17:54:15 +0200 Message-Id: <1405439655-5843-1-git-send-email-hadrien.boutteville@gmail.com> X-Mailer: git-send-email 2.0.1 Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 1/1] ti-gfx: add patch to fix build failure with es5.x X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Since commit a73fdc647417699833f22d0f239affe22e062827 in the kernel, omap_dss_device's 'output' is renamed 'src'. Build kernel module with es5.x fails because ti-gfx still uses 'output'. Fix build with at least es5.x selected (AM35xx). Signed-off-by: Hadrien Boutteville Cc: Thomas Petazzoni Cc: "Yann E. MORIN" --- .../ti-gfx/ti-gfx-0001-fix-build-omaplfb-linux.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/ti-gfx/ti-gfx-0001-fix-build-omaplfb-linux.patch diff --git a/package/ti-gfx/ti-gfx-0001-fix-build-omaplfb-linux.patch b/package/ti-gfx/ti-gfx-0001-fix-build-omaplfb-linux.patch new file mode 100644 index 0000000..98a7632 --- /dev/null +++ b/package/ti-gfx/ti-gfx-0001-fix-build-omaplfb-linux.patch @@ -0,0 +1,18 @@ +Since commit a73fdc647417699833f22d0f239affe22e062827 in the kernel, +omap_dss_device's 'output' is renamed 'src'. + +Fix build with at least es5.x selected (AM35xx). + +Signed-off-by: Hadrien Boutteville + +--- a/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c ++++ b/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c +@@ -177,7 +177,7 @@ + #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)) + #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->manager : NULL + #else +-#define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->output->manager : NULL ++#define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->src->manager : NULL + #endif + + #define WAIT_FOR_VSYNC(man) ((man)->wait_for_vsync)