platform_data/mlxreg: Extend core platform structure
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 23 Sep 2020 17:20:52 +0000 (20:20 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Oct 2020 21:21:00 +0000 (23:21 +0200)
commitd2f3ab5b6b05f67817f3bd3f2fda5f0126e95a62
tree6ff755cf7cae6f4529fb38cdb3495c662c5b8878
parent638eae9bc7eb1012d1e0f5a8fd4db46447f822e9
platform_data/mlxreg: Extend core platform structure

Add 'capability' field to structure 'mlxreg_core_platform_data'.
The purpose of this filed to indicate  the actual number of the
components within the particular group. Such components could be,
for example the number of the FAN drawers. Some systems are equipped
with FAN drawers with one tachometer inside, others with FAN drawers
with several tachometers inside.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200923172053.26296-5-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/linux/platform_data/mlxreg.h