memory: tegra: Fixes for COMPILE_TEST
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | memory: tegra: Add missing dependenciesdrivers/ | +2 | 14 replies | |
| 2/2 | reset: Add compile-test stubsinclude/ | +22 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] memory: tegra: Fixes for COMPILE_TEST
From: Thierry Reding <[email protected]>
After COMPILE_TEST was enabled for the Tegra MC driver, Krzysztof reported that this can fail to build on x86 configurations because some dependencies are not explicitly pulled in.
Fix this by adding missing dependencies for OF_RESERVED_MEM and by providing compile-test stubs for reset controller registration API.
Note that I was initially trying to fix the reset controller problem by selecting RESET_CONTROLLER. This works but is discouraged because it can create circular dependencies. And sure enough, changing that "select" to a "depends on" triggered a circular dependency because there are already quite a few drivers that select RESET_CONTROLLER. I suppose that's fine as long as everybody uses "select" rather than "depends on", but it is not a very robust solution.
Dmitry and Krzysztof were both in favour of adding the reset controller stubs, so that's what I went with.
Thierry
Thierry Reding (2):
memory: tegra: Add missing dependencies
reset: Add compile-test stubs
drivers/memory/tegra/Kconfig | 2 ++ include/linux/reset-controller.h | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+)
Signature · 1 line
2.31.1