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

From: Magnus Damm
Date: Fri Jun 06 2014 - 07:57:18 EST


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 <damm+renesas@xxxxxxxxxxxxx>
---

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(+)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/