Re: Linux-gpib-4.2 can not compile on CentoOS 7

Frank Mori Hess <[email protected]>
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAJz5OpcUfiyWnkoi6LfGm5zGntvLKwfw40YYW1fcG91Ycesgnw@mail.gmail.com>
On Wed, Nov 28, 2018 at 2:20 AM dave penkler <[email protected]> wrote:
>
> Hi Søren,
> Thanks for raising this. As Frank has said, suspect that the issue is related to the implementation of device tree support in your kernel.
> Specifically that of_find_node_by_path() is not defined if CONFIG_OF is not defined.
> Please check /include/linux/of.h in your 3.10.xx kernel source whether there is a definition for
> of_find_node_by_path() in the case that CONFIG_OF is *not* defined:
>
> static inline struct device_node *of_find_node_by_path(const char *path)
> {
>        return NULL;
> }
>

Browsing the code at bootlin:

https://elixir.bootlin.com/linux/v3.10/source/include/linux/of.h

shows 3.10 failed to provide a stub implementation of
of_find_node_by_path when CONFIG_OF is not defined.


_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.