]> git.baikalelectronics.ru Git - kernel.git/commit
platform_data/mlxreg: Add support for complex attributes
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 14 Jul 2020 12:01:58 +0000 (15:01 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Jul 2020 09:45:07 +0000 (12:45 +0300)
commitf0c49528fbfdac9037f74860752d26338d5da7b7
tree2f2a2b9e1cb9d307b8ed86dcec9d774e3fd83a55
parent2f76f7ddda0add4fe1166ae089cc288db9ffb800
platform_data/mlxreg: Add support for complex attributes

Add new field 'regnum' to the structure 'mlxreg_core_data' to specify
the number of registers occupied by multi-register attribute.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/platform_data/mlxreg.h