generic: 6.1: backport FIELD_PREP_CONST patch
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 15 Jan 2024 21:47:20 +0000 (22:47 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 15 Jan 2024 21:47:20 +0000 (22:47 +0100)
commitef94541c07b13d2c07bc92df8a52e2eeccd9b488
tree77b61d870ac8d5cdd96b370629e39434f4292cfa
parent84a489b7cfc4c98b8747c9965826b2588eb3a57d
generic: 6.1: backport FIELD_PREP_CONST patch

Backport FIELD_PREP_CONST patch needed for at803x backport patches to
correctly compile and work.

This MACRO is needed to treat values derived from FIELD_PREP usage as
const to be used by switch case or other needed usage.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/backport-6.1/200-v6.3-bitfield-add-FIELD_PREP_CONST.patch [new file with mode: 0644]