From patchwork Wed Aug 23 13:28:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 110830 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4130954qge; Wed, 23 Aug 2017 06:29:22 -0700 (PDT) X-Received: by 10.99.107.197 with SMTP id g188mr2699814pgc.370.1503494962757; Wed, 23 Aug 2017 06:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503494962; cv=none; d=google.com; s=arc-20160816; b=RHILrm+qGF64l3b8ndT+Za9gs0oz7TfDoKHBslfWBty26q9GZMcnlLSM06lA9GcYnN StTgjA66wafR2i7YT6lBkxvQWsEvFISMBQzS9voby+qaQac873HtoZXs1yABrt48pl+Y VoXJpZFnq2kqy4CcmyKJADyOt9bljseeaCx9psei1W/7uj/f5+MO/pTHZDJA4OlA7YQR lif1hDEtw1bY06g3YaAxzkiWVX93L5Thw2CmH9Kfyycqc0CjpYKYXixs39OSIKMP63Hr Vt8zGPHxg8uADj3QTta4suUY8/SqwEdS9C3elqy+IRK5ajMecW2wONJiy8KPU/X+LzWK Vagg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=scR8JFT0+Ro3QiUisp2zCScIJNeEQ9eyTvKIBMwRyTk=; b=Gj611UblOgqtXzPB5P5jvCvY69Ymug0RLhZZbaFgIF4FLCJB3RHUC01AgbmF+jBAnn klkdGTIece6Wq4V5cD+rTYrsNy7Md/4MLkpZJaVssCEPpRuUzLEFK6ZGuQfUhWr+YlXA fm/0Kj7rEswN7rt8lUw7MQED+cgYTdWECPYnRDdGBJ5IuJHG8gg+819+9hTGEu7GF70S h+eeVF+i/CYV2PLVKFI3mQrKCDd8rirTAlf66KZDZtr5F5Vt3hRxyAe6GIV+/Os2tC9r si2r0347K/4duJLlvD9urizhXnth7aIronHdr+Erk7J1PxQZedBBw1sVxupVfPQDEkir myzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t76si1069985pgc.63.2017.08.23.06.29.22; Wed, 23 Aug 2017 06:29:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754025AbdHWN3V (ORCPT + 3 others); Wed, 23 Aug 2017 09:29:21 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:50516 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982AbdHWN3U (ORCPT ); Wed, 23 Aug 2017 09:29:20 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0LdVtC-1dKYcz1hKc-00inbC; Wed, 23 Aug 2017 15:28:43 +0200 From: Arnd Bergmann To: Tony Lindgren Cc: Arnd Bergmann , Tomi Valkeinen , Laurent Pinchart , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: OMAP2+: fix missing variable declaration Date: Wed, 23 Aug 2017 15:28:19 +0200 Message-Id: <20170823132841.642239-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:cI9UBEeIWVAzwLkWg+rKnVQksYCEQtRTsFWjHSDpv588oKRqDjd CuNxJbeqWWQl5NHDnD5xIk//aO80RdXdVidzb7N6UKrwX9VPsOruJtcupM+An2r7ZM8ALLo CP5bMPmoPMlxvC8/5ERssHSZvQMATFU91mhM1Go40kxJ/TZpMqniMIeS/6rGryzbkdWj26P pnKhP+kcfe7vAjsSlWDOA== X-UI-Out-Filterresults: notjunk:1; V01:K0:hN0/PAwGets=:KkFbddAR8XU1rm6G9EEKC/ KOStHHPaudZZRHyExUouIHAi7VqtPgNTejDWRSFo95z6JAOJZZg+8zWIsCjbCrEgP28hF61f4 R9BhE9fVBoG6lkmo0QF4B3c7KVuGSGqh6RgokHyRNuSAV50lCFHwxFaZbwgQR1pq/jU3hhSGj YhE8OX3D2VM0C+AubkQKQm8kA5LG0/XA5tS+JFoMMYdKHHeMRBJMKKHumorPTChfCX4L2hDax mG0izYvc0rIYtPrVByLi371uooOktJL+iy2a69yxolfPbtkGlYvshoNj0T408Lf7wtURiTwEQ wMIr5A5KS5xVWvbACdqeIqpwlH1vsP+NOPcS1utbm2Tuy70TxScqJnWTpk93vKHGcVIv2bbK4 kdxVZXEHPneqlWdKeExWsQVN2KaH2FmYz6EHrrTL8uHkzx/yNVp1JagCl3SZgZ7JOCZ+Ltaa1 fg2IA5BNpCJ6aPBV6hn7G1vc6e5BLK/Y58Jw9WUXHsM4XzOJAzvp0xfENhXhwqMrPeaTgiWAV 79RjNpy7dWlnSo+Q63m0uJs38C97E5ygDpFp7pRZFJs3dv3ItXoAxms164FOIJkUndn4D1v4c eW2+dEo2B/kh2Zpyg2vhwPtrBTs0OXCYfrN5CA+RNaSBzebT3ewFNyMhkcD/mOJORFr9+n4Jh 9BYYRUwSWOO/9zxdJH84A4c/UG6QcZ5jPUc/KzU9LkaVrSuYTZzYNSwDhRCLfY7EQ/SNOiBHG hyq5bOoqjiOdspsWp1jMnEu+gUVMCNNg1n+jUA== Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The function that was added doesn't actually build: arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev': arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in this function) This adds a declaration for 'r' to fix it. Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't register omapdss device for omapdrm") Signed-off-by: Arnd Bergmann --- arch/arm/mach-omap2/display.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Laurent Pinchart Acked-by: Tony Lindgren diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 798fc718fffe..b3f6eb5d04a2 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -172,6 +172,7 @@ static int __init omapdss_init_fbdev(void) .set_min_bus_tput = omap_dss_set_min_bus_tput, }; struct device_node *node; + int r; board_data.version = omap_display_get_version(); if (board_data.version == OMAPDSS_VER_UNKNOWN) {