From mboxrd@z Thu Jan 1 00:00:00 1970 From: contact@paulk.fr (Paul Kocialkowski) Date: Sat, 02 May 2015 17:46:22 +0200 Subject: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo In-Reply-To: <20150428160910.GE12732@n2100.arm.linux.org.uk> References: <1429351135-11842-1-git-send-email-contact@paulk.fr> <1429351135-11842-2-git-send-email-contact@paulk.fr> <1430145747.3081.5.camel@collins> <20150428160910.GE12732@n2100.arm.linux.org.uk> Message-ID: <1430581582.5339.0.camel@collins> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Le mardi 28 avril 2015 ? 17:09 +0100, Russell King - ARM Linux a ?crit : > On Mon, Apr 27, 2015 at 04:42:27PM +0200, Paul Kocialkowski wrote: > > Well, of_property_read_string is only defined when CONFIG_OF is set > > (base.c is always built in drivers/of but the directory is only included > > when CONFIG_OF is set). > > > > Of course, on ARM, we now expect that it is the case, but it seems like > > good practice to check for it, since it could theoretically be disabled. > > That is _not_ "is the case" - there are a number of non-OF platforms... > including some which will probably never be converted. Right, so I think v4 should be fine too, given the empty functions in case CONFIG_OF is not set. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: