From patchwork Wed May 30 21:24:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 137288 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp5814216lji; Wed, 30 May 2018 14:25:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLo/JZ63p/s813lWx2EZUi5cWHn9kA4UOBpktK5BDu6BXwGbloaaZhDk5k0/+X5buuehWnE X-Received: by 2002:a17:902:164:: with SMTP id 91-v6mr4394165plb.134.1527715551535; Wed, 30 May 2018 14:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527715551; cv=none; d=google.com; s=arc-20160816; b=VUvBwnp4447Kth75l0zqvmj365o6hAKTfH2qFZweC+ApXMyktQwZN72djc0wCzEqPq YxuI160iEY6Go4ZJBo72vDPkuVYlkZjeKwpBl+UNSo3B4vwvHsgzkKXNJRLwhiyq/chK un0eftsQNTyiEnZ9G54dZ2ramXFcknCDXmZme1Ut4AqtHJ4ZfvjfaRweJkbCQbLiNFv2 Uw3S+UGMgPRxo8+nppa+othJtIcq6tE3tDWDdGc1obmqy4yQdm966MnIiFApr+Rcd97Y p8RcF7zCLu71dgoJhYMqGws5eAz+hOCmmj3qiXf0m8lMqUTAldkcXK7Jub0aQH7v+fvs z5jw== 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=QUvERsX+zHRTzj9HPnMIkw7z9EEOLuAeFBD434xRoD4=; b=m/AZTllyzXDYkyIvmkZ9gpoRCAix3T/zeywfjT28sGe3zG5zgHZkGW7OltWuuZxciH RhIferbvrfz6IBVXCkbSBEhtvwG71DymTw+V6WKrxRrmMBzmmbpHlzAN0r9wpEpjWaob a00C/aOOJOFmm8KDwd6CVVcuhBcHGEUxshvUM5XSnwd3eIV2hbZTqwWQjJNqiG20MPCG rdGgTBSbSuQ39vTra/sAoFolvikVE4hCxCRABuFTv+7L5hgjyYWXCx7KJRXe5BLNMZ+J q4IHSgDVqvfhX9oBFbvPEPVaQGgvseo1Iu2fUvhKIwVC7f3jhq90/ZVlCrCkiQOWMZaq BYUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 bc11-v6si34525165plb.544.2018.05.30.14.25.51; Wed, 30 May 2018 14:25:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932459AbeE3VZt (ORCPT + 30 others); Wed, 30 May 2018 17:25:49 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:60071 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932268AbeE3VZr (ORCPT ); Wed, 30 May 2018 17:25:47 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MDEgG-1fY3ff2sEG-00GbIQ; Wed, 30 May 2018 23:25:19 +0200 From: Arnd Bergmann To: Mark Brown Cc: Linus Walleij , Arnd Bergmann , Robert Jarzmik , Daniel Mack , Haojian Zhuang , Russell King , Andy Shevchenko , Wolfram Sang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: pxa, regulator: fix building ezx e680 Date: Wed, 30 May 2018 23:24:58 +0200 Message-Id: <20180530212514.346474-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:c64zjEeWf5mPbFEaRNaX97f8o3RjnKVIIy+lRzqiYu1CDZ8l83E qGZMCi5hSVZxHsun9HUx8M8EOYw4zwST/VKPjSFHE7Si4ZoJ3uxei0yCTrQqRami0P9mMAD m7igQbJA06uriNJxbkbN3Sy4VwZuUr3MJqCiCdEs/+8YFHAlzQhRkLTsf7OTZwabmAgFvZZ bUoMCdsgHr5s2Ht51otaQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:4NP1JBFWlGc=:L+YqZ5HScOBkz+TjWcRvFL CcFtztMocI9rEvmp4nT4EodiOce8rPAW5SbregFm4e6TaV3rOYCEsxPP+94D1V/3oJC7WMa0Q 93VOhBGV5ZM4S+ARwM1MGJzLkBiP3NsCT3HNP3BsGTIg61BDZu9mAu6i7s2PwDoy5Yat8gUFU REtybwO2P3NLgjvlP74rwsB25VQ1xedfv71ORAYyExq46cp8vgBRPVBb2rTdhBV4qF7qW891A NsPtrSWNq7UL1SeVI3gp/kPTTeIxc8nx6/cfze/+NWu2XbZ3873S0uev/OpEQ6kvDqJPqbcdU gi7FSYwfnxipRjfE0ozanQ0gryIViJt5czbPxjYWD3esi4W9PwaS7DrBB3sEWQ1o/WDFOZwVl iiRzAINYyTGdXOmXCtBMRitrOIsCDSULQQ2Z6z6CYojRQMOaouuErMYwZoK2bkq0kVlL/zImE 4qwFdrscoSoLTyeAq4Juhq+1fgbLfrtncwKp7PsJE/7w9M9hTt8M+ByPeEW13fyCHOzBf5nVl lJd7Cw47APf17NRHcXd4qPbKWXg7Mt0dxbmHvykz0Zz0zJkc+yKu/IDUaFz3VBKfyKQKWii8w 3Qd+imw43WgBsZYIZtIGr4Y0K2Fs8QFgl68xZmlLaIySWb+6VAG6w99NJyS/6RhladNQoN4Nl Bm81uRBcUu7Q2Q9CHcp0dwZkTx1zi2tZV0/HZsJZC7OhwR8Lv53yiQFZ5F91KBiE/Mxg= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The reference to camera_supply_gpiod_table was added in the wrong function, as observed from this randconfig build failure: arch/arm/mach-pxa/ezx.c: In function 'e680_init': arch/arm/mach-pxa/ezx.c:905:26: error: 'camera_supply_gpiod_table' undeclared (first use in this function) gpiod_add_lookup_table(&camera_supply_gpiod_table); Fixes: 6059577cb28d ("regulator: fixed: Convert to use GPIO descriptor only") Signed-off-by: Arnd Bergmann --- arch/arm/mach-pxa/ezx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/arch/arm/mach-pxa/ezx.c b/arch/arm/mach-pxa/ezx.c index 2b4bd6d94855..4f33eea73f9a 100644 --- a/arch/arm/mach-pxa/ezx.c +++ b/arch/arm/mach-pxa/ezx.c @@ -902,7 +902,6 @@ static void __init e680_init(void) pxa_set_keypad_info(&e680_keypad_platform_data); - gpiod_add_lookup_table(&camera_supply_gpiod_table); pwm_add_table(ezx_pwm_lookup, ARRAY_SIZE(ezx_pwm_lookup)); platform_add_devices(ARRAY_AND_SIZE(ezx_devices)); platform_add_devices(ARRAY_AND_SIZE(e680_devices)); @@ -1132,6 +1131,7 @@ static void __init a910_init(void) if (a910_camera_init() == 0) pxa_set_camera_info(&a910_pxacamera_platform_data); + gpiod_add_lookup_table(&camera_supply_gpiod_table); pwm_add_table(ezx_pwm_lookup, ARRAY_SIZE(ezx_pwm_lookup)); platform_add_devices(ARRAY_AND_SIZE(ezx_devices)); platform_add_devices(ARRAY_AND_SIZE(a910_devices));