diff options
| author | 2023-04-12 15:47:31 +0300 | |
|---|---|---|
| committer | 2023-04-13 21:56:06 -0700 | |
| commit | 40cd07cb42617f0e8b8597d0db288a5ce66621d9 (patch) | |
| tree | b7d75e2edcb5f4b56421425ff7940ff5ba2060db /scripts/Makefile.thinlto | |
| parent | net: mscc: ocelot: strengthen type of "u32 reg" in I/O accessors (diff) | |
net: mscc: ocelot: refactor enum ocelot_reg decoding to helper
ocelot_io.c duplicates the decoding of an enum ocelot_reg (which holds
an enum ocelot_target in the upper bits and an index into a regmap array
in the lower bits) 4 times.
We'd like to reuse that logic once more, from ocelot.c. In order to do
that, let's consolidate the existing 4 instances into a header
accessible both by ocelot.c as well as by ocelot_io.c.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
