Subject: Re: [PATCH] fsl_soc: Factor fsl_get_sys_freq() out of the wdt and spi inits.

From: Scott Wood <[email-masked]>
Date: Tue, 15 Apr 2008 16:35:54 -0500

Anton Vorontsov wrote:
>> +u32 fsl_get_sys_freq(void)
>> +{
>> +	struct device_node *soc;
>> +	const u32 *prop;
>> +	int size;
>> +
>> +	if (sysfreq != -1)
>> +		return sysfreq;
>> +
>> +	soc = of_find_node_by_type(NULL, "soc");
>> +	if (!soc)
>> +		return -1;
> 
> Um.. can we finally decide on compatible for the soc nodes,
> and add there compatible matching from the start?

This is just a code reorganization; any change in what we match on 
should be a separate patch.

-Scott