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: 9917367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 18039602CB for ; Wed, 23 Aug 2017 13:29:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A7141FEBD for ; Wed, 23 Aug 2017 13:29:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F36AB286CF; Wed, 23 Aug 2017 13:29:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FD441FEBD for ; Wed, 23 Aug 2017 13:29:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754025AbdHWN3V (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Laurent Pinchart Acked-by: Tony Lindgren --- arch/arm/mach-omap2/display.c | 1 + 1 file changed, 1 insertion(+) 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) {