of: Add two stubs for OF_ADDRESS=n and OF=n cases
Get series with b4
b4 am 20140606115909.4584.28612.sendpatchset@w520Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | of: Add OF_ADDRESS=n stub for of_can_translate_address()include/ | +5 | 1 reply | |
| 2/2 | of: Add OF=n stub for of_find_all_nodes()include/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.
Signed-off-by Magnus Damm <[email protected]>
---
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(+)