From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751298AbdH1JcK (ORCPT ); Mon, 28 Aug 2017 05:32:10 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:53266 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbdH1JcJ (ORCPT ); Mon, 28 Aug 2017 05:32:09 -0400 Date: Mon, 28 Aug 2017 11:32:07 +0200 From: Pavel Machek To: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com Subject: [PATCH linux-next] fix compilation error in mach-omap2/display.c Message-ID: <20170828093207.GA29080@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In linux-next 0828, I get CC arch/arm/mach-omap2/display.o arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev': arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first Fix it. Signed-off-by: Pavel Machek diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 798fc71..b3f6eb5 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 =3D omap_dss_set_min_bus_tput, }; struct device_node *node; + int r; =20 board_data.version =3D omap_display_get_version(); if (board_data.version =3D=3D OMAPDSS_VER_UNKNOWN) { --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlmj4xcACgkQMOfwapXb+vLC6QCdEzxxC+oUtIEN7NyWNwLTX9TH 57YAn3AqjTRkLsY3LvQnPaJhJJCalx/6 =SPqr -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--