Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754300Ab2KMNf2 (ORCPT ); Tue, 13 Nov 2012 08:35:28 -0500 Received: from mail-ea0-f174.google.com ([209.85.215.174]:47623 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685Ab2KMNf1 (ORCPT ); Tue, 13 Nov 2012 08:35:27 -0500 MIME-Version: 1.0 In-Reply-To: <50A12FF1.4000800@infradead.org> References: <20121112164431.8bcfe78d2a2ec73271733db4@canb.auug.org.au> <50A12FF1.4000800@infradead.org> Date: Tue, 13 Nov 2012 14:35:26 +0100 Message-ID: Subject: Re: [PATCH -next] mfd: fix stmpe.c build when OF is not enabled From: Linus Walleij To: Randy Dunlap Cc: Rabin Vincent , Samuel Ortiz , Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1025 Lines: 25 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 Yours, Linus Walleij -- 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/