Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932143Ab2KZVHi (ORCPT ); Mon, 26 Nov 2012 16:07:38 -0500 Received: from mga01.intel.com ([192.55.52.88]:48028 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754907Ab2KZVHc (ORCPT ); Mon, 26 Nov 2012 16:07:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.83,323,1352102400"; d="scan'208";a="252798446" Date: Mon, 26 Nov 2012 22:07:23 +0100 From: Samuel Ortiz To: Randy Dunlap Cc: Linus Walleij , Rabin Vincent , Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] mfd: fix stmpe.c build when OF is not enabled Message-ID: <20121126210723.GX12685@sortiz-mobl> References: <20121112164431.8bcfe78d2a2ec73271733db4@canb.auug.org.au> <50A12FF1.4000800@infradead.org> <50B3C13D.1050704@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50B3C13D.1050704@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 42 Hi Randy, On Mon, Nov 26, 2012 at 11:21:33AM -0800, Randy Dunlap wrote: > On 11/13/2012 05:35 AM, Linus Walleij wrote: > > > On Mon, Nov 12, 2012 at 6:20 PM, Randy Dunlap wrote: > > > >> From: Randy Dunlap > >> > >> Fix build errors when CONFIG_OF is not enabled by including > >> (needs to be added in any case). > >> An alternative fix could be to make the driver depend on OF. > >> > >> drivers/mfd/stmpe.c:1025:2: error: implicit declaration of function 'of_property_read_u32' > >> drivers/mfd/stmpe.c:1030:2: error: implicit declaration of function 'for_each_child_of_node' > >> drivers/mfd/stmpe.c:1030:36: error: expected ';' before '{' token > >> > >> Signed-off-by: Randy Dunlap > >> Cc: Rabin Vincent > >> Cc: Samuel Ortiz > > > > Acked-by: Linus Walleij > > > > > ping? > > This patch is still needed in linux-next. Applied and pushed, thanks a lot. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- 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/