Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752704AbdIXPvG (ORCPT ); Sun, 24 Sep 2017 11:51:06 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34320 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668AbdIXPvE (ORCPT ); Sun, 24 Sep 2017 11:51:04 -0400 X-Google-Smtp-Source: AOwi7QDGwX8z483/OLdBNdECiIGMa03cLUkbPU2XLfaW4tQVQOT4ygdb/bRMRp/MpaCr8BGkrKvePw== 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] default implementation for of_find_all_nodes(...) Date: Sun, 24 Sep 2017 17:50:44 +0200 Message-Id: <1506268244-6589-2-git-send-email-larturus2@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506268244-6589-1-git-send-email-larturus2@gmail.com> References: <1504117946-3958-1-git-send-email-larturus2@gmail.com> <1506268244-6589-1-git-send-email-larturus2@gmail.com> 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 4a8a709..0a9c17a 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -865,6 +865,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