Skip to content

of: Add two stubs for OF_ADDRESS=n and OF=n cases

Magnus Damm lkml 1 version In review

Get series with b4
b4 am 20140606115909.4584.28612.sendpatchset@w520

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2of: Add OF_ADDRESS=n stub for of_can_translate_address()include/linux/of_address.h+5 -01 reply
2/2of: Add OF=n stub for of_find_all_nodes()include/linux/of.h+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/02] of: Add two stubs for OF_ADDRESS=n and OF=n cases

of: Add two stubs for OF_ADDRESS=n and OF=n cases

[PATCH 01/02] of: Add OF_ADDRESS=n stub for of_can_translate_address() [PATCH 02/02] of: Add OF=n stub for of_find_all_nodes()

This series adds include file stubs for the following functions:
- of_can_translate_address() in of_address.h
- of_find_all_nodes() in of.h

With these stubs in place it is possible to remove Kconfig dependencies for OF and OF_ADDRESS in certain cases and just depend on the default behaviour of the stubs.

---

Written against renesas git repo at kernel.org using tag renesas-devel-v3.15-rc8-20140606 which for this code is the same as v3.15-rc8. Let me know if you want me to rebase.

 include/linux/of.h         |    5 +++++
 include/linux/of_address.h |    5 +++++
 2 files changed, 10 insertions(+)