Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934844AbdCVQ1Z (ORCPT ); Wed, 22 Mar 2017 12:27:25 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36858 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934784AbdCVQ1T (ORCPT ); Wed, 22 Mar 2017 12:27:19 -0400 From: Artur Lorincz To: frowand.list@gmail.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, larturus@yahoo.com, Artur Lorincz Subject: [PATCH 1/1] of: default implementation for of_find_all_nodes(...). Date: Wed, 22 Mar 2017 17:27:11 +0100 Message-Id: <1490200031-7893-1-git-send-email-larturus2@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 26 Added default implementation for of_find_all_nodes(). This function is used by board.c from the board module (drivers/staging/board). Signed-off-by: Artur Lorincz --- include/linux/of.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index 21e6323..f1cff92 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -840,6 +840,11 @@ static inline void of_property_clear_flag(struct property *p, unsigned long flag #define of_match_ptr(_ptr) NULL #define of_match_node(_matches, _node) NULL + +static inline struct device_node *of_find_all_nodes(struct device_node *prev) +{ + return NULL; +} #endif /* CONFIG_OF */ /* Default string compare functions, Allow arch asm/prom.h to override */ -- 1.9.1