From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH] dsa: dsa2: fix compile error for !CONFIG_OF Date: Thu, 23 Nov 2017 15:04:59 +0100 Message-ID: <20171123140459.GC30167@lunn.ch> References: <5A16B873.1060709@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Vivien Didelot To: Arend van Spriel Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:33874 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752222AbdKWOFB (ORCPT ); Thu, 23 Nov 2017 09:05:01 -0500 Content-Disposition: inline In-Reply-To: <5A16B873.1060709@broadcom.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Nov 23, 2017 at 01:00:51PM +0100, Arend van Spriel wrote: > Compilation fails building on x86_64 platform which does not > have CONFIG_OF enabled. > > Signed-off-by: Arend van Spriel > --- > After rebasing my branch to v4.14 I attempted to build the kernel and hit > the following compile issue: > > net/dsa/dsa2.c: In function \u2018dsa_switch_parse_member_of\u2019: > net/dsa/dsa2.c:678:2: error: implicit declaration of function > 'of_property_read_variable_u32_array' Hi Arend https://lkml.org/lkml/2017/11/6/493 Andrew