Skip to content

Commit

Permalink
platform/mellanox: mlxreg-io: Extend number of hwmon attributes
Browse files Browse the repository at this point in the history
Extend maximum number of the attributes, exposed to 'sysfs'.
It is requires in order to support modular systems, which
provide more attributes for system control, statuses and info.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20211002093238.3771419-6-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  • Loading branch information
vadimp-nvidia authored and jwrdegoede committed Oct 19, 2021
1 parent 67eb006 commit bbfd79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/mellanox/mlxreg-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/* Attribute parameters. */
#define MLXREG_IO_ATT_SIZE 10
#define MLXREG_IO_ATT_NUM 48
#define MLXREG_IO_ATT_NUM 96

/**
* struct mlxreg_io_priv_data - driver's private data:
Expand Down

0 comments on commit bbfd79c

Please sign in to comment.