OSDN Git Service

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)
commit13e52e63a4462e2bd0ef249fb535a599ea158725
tree2f2a2b9e1cb9d307b8ed86dcec9d774e3fd83a55
parent92d020f97966b1724cfcac93e89176d0eb3aca61
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