diff options
author | Douglas Anderson <[email protected]> | 2021-09-13 17:05:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 09:02:50 +0200 |
commit | 7a8aa39d44564703620d937bb54cdea2d003657f (patch) | |
tree | 05d09cef73bed508a4d1ca77ebc1e70ecb031fde /drivers/fpga/fpga-bridge.c | |
parent | 5fdb55c1ac9585eb23bb2541d5819224429e103d (diff) |
nvmem: core: Add stubs for nvmem_cell_read_variable_le_u32/64 if !CONFIG_NVMEM
When I added nvmem_cell_read_variable_le_u32() and
nvmem_cell_read_variable_le_u64() I forgot to add the "static inline"
stub functions for when CONFIG_NVMEM wasn't defined. Add them
now. This was causing problems with randconfig builds that compiled
`drivers/soc/qcom/cpr.c`.
Fixes: 6feba6a62c57 ("PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32()")
Fixes: a28e824fb827 ("nvmem: core: Add functions to make number reading easy")
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions