Skip to content

Commit bbfd79c

Browse files
vadimp-nvidiajwrdegoede
authored andcommitted
platform/mellanox: mlxreg-io: Extend number of hwmon attributes
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>
1 parent 67eb006 commit bbfd79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/mellanox/mlxreg-io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/* Attribute parameters. */
2020
#define MLXREG_IO_ATT_SIZE 10
21-
#define MLXREG_IO_ATT_NUM 48
21+
#define MLXREG_IO_ATT_NUM 96
2222

2323
/**
2424
* struct mlxreg_io_priv_data - driver's private data:

0 commit comments

Comments
 (0)