diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-04-09 19:10:22 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-04-09 19:10:22 +0300 |
commit | 291717b6fbdb175da88ae2144fc58d63a490128d (patch) | |
tree | 7904128b17c4b47389832fc2ae9d1a93b4f08a10 /include/linux | |
parent | bca811a7fd5a5c1c0644926161c2843322ab74b3 (diff) | |
download | linux-291717b6fbdb175da88ae2144fc58d63a490128d.tar.xz |
libnvdimm, of_pmem: workaround OF_NUMA=n build error
Stephen reports that an x86 allmodconfig build fails to build the
of_pmem driver due to a missing definition of of_node_to_nid(). That
helper is currently only exported in the OF_NUMA=y case. In other cases,
ppc and sparc, it is a weak symbol, and outside of those platforms it is
a static inline.
Until an OF_NUMA=n configuration can reliably support usage of
of_node_to_nid() in modules across architectures, mark this driver as
'bool' instead of 'tristate'.
Cc: Rob Herring <robh@kernel.org>
Cc: Oliver O'Halloran <oohall@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions