Re: [PATCH v4 14/16] of: Add nop implementation of of_get_next_parent()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Rafael,

On Mon, Mar 13, 2017 at 10:55:01PM +0100, Rafael J. Wysocki wrote:
> On Monday, March 06, 2017 04:19:28 PM Sakari Ailus wrote:
> > To avoid #ifdefs where the function is used.
> 
> A bit more explanation?
> 
> About where this happens (or will happen) to be used with CONFIG_OF unset?

v5.1 has:

of_get_next_parent() was only defined if CONFIG_OF was set. Using the
function thus requires #ifdef CONFIG_OF ... #endif in all cases. Avoid
having to use pre-processor macros around the function by providing a nop
implementation of of_get_next_parent().

> 
> Plus, that would require an ACK from Rob.

I checked with Rob (cc'd) that he's fine with the patch and that it goes
through your tree.

-- 
Regards,

Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux