Skip to content
Commit 4fe40672 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

gpio: Disable functions not used with of-platdata



These functions use devicetree and cannot work with of-platdata, which has
no runtime devicetree.

If they are used, the current linker error is confusing, since it talks
about missing functions in the bowels of driver model.

Avoid compiling these functions at all with of-platdata, so that a
straightforward link error points to the problem.

Series-changes; 3
- Fix 'wprl' typo

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>

Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent 5a9d8633
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment