diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-08-18 15:12:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-22 16:07:24 +0300 |
commit | f8f60615379c1b36d9220f3886fb9b229e95d8cd (patch) | |
tree | 434d40c62eece66fbfebeb18422c7783326d066f /drivers/clk/clk-conf.c | |
parent | 81c0386c1376da54f05d6916936db5220df9f97d (diff) | |
download | linux-f8f60615379c1b36d9220f3886fb9b229e95d8cd.tar.xz |
regmap/hexagon: Properly fix the generic IO helpers
I was too naive in just including <asm-generic/io.h> into
hexagon: one has to specify defines for every call that uses
a (static) inline or this will not work.
Fix it up by providing proper defines for all shorthands that
hexagon provides.
Compile-tested with hexagon LLVM which is the only working cross
compiler for hexagon ATM after commenting out the
-fno-inline-functions-called-once switch which isn't working
with LLVM.
Cc: Brian Cain <bcain@quicinc.com>
Cc: linux-hexagon@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Fixes: 81c0386c1376 ("regmap: mmio: Support accelerared noinc operations")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220818121227.151016-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/clk/clk-conf.c')
0 files changed, 0 insertions, 0 deletions