Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752708AbaBMDjL (ORCPT ); Wed, 12 Feb 2014 22:39:11 -0500 Received: from mail-pb0-f51.google.com ([209.85.160.51]:44169 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbaBMDjJ (ORCPT ); Wed, 12 Feb 2014 22:39:09 -0500 Date: Wed, 12 Feb 2014 19:39:07 -0800 (PST) Message-ID: <87iosjd6lj.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH] regulator: gpio: reborn necessary prop User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Mark Brown Cc: Liam Girdwood , Lee Jones , Simon , Magnus , Linux-SH , linux-kernel@vger.kernel.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kuninori Morimoto 934624d6e9f0b3d41557c4105c286e8daeaadb4e (regulator: gpio-regulator: do not open-code counting and access of dt array elements) removed struct property *prop from of_get_gpio_regulator_config() but, it is still used on 0094050d783bbadffe83effef11a0bda901153ce (regulator: gpio: add gpios-status for DT) Compile will fail without this patch gpio-regulator.c: In function 'of_get_gpio_regulator_config': gpio-regulator.c:174:2: error: 'prop' undeclared (first use in this function) gpio-regulator.c:174:2: note: each undeclared identifier is reported \ only once for each function it appears in Signed-off-by: Kuninori Morimoto --- This is for latest mark-regulator/topic/gpio branch drivers/regulator/gpio-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 9fd5561..20248c1 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c @@ -136,6 +136,7 @@ static struct gpio_regulator_config * of_get_gpio_regulator_config(struct device *dev, struct device_node *np) { struct gpio_regulator_config *config; + struct property *prop; const char *regtype; int proplen, gpio, i; int ret; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/