diff options
| author | Guenter Roeck <[email protected]> | 2024-10-01 18:37:15 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-10-07 15:42:31 +0000 |
| commit | 193bc02c664999581a1f38c152f379fce91afc0c (patch) | |
| tree | 937e2fc9739646d8f512cb3cf48d00b4829d0380 /rust/helpers/vmalloc.c | |
| parent | hwmon: (adt7475) Fix memory leak in adt7475_fan_pwm_config() (diff) | |
| download | kernel-193bc02c664999581a1f38c152f379fce91afc0c.tar.gz kernel-193bc02c664999581a1f38c152f379fce91afc0c.zip | |
hwmon: (tmp513) Add missing dependency on REGMAP_I2C
0-day reports:
drivers/hwmon/tmp513.c:162:21: error:
variable 'tmp51x_regmap_config' has initializer but incomplete type
162 | static const struct regmap_config tmp51x_regmap_config = {
| ^
struct regmap_config is only available if REGMAP is enabled.
Add the missing Kconfig dependency to fix the problem.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 59dfa75e5d82 ("hwmon: Add driver for Texas Instruments TMP512/513 sensor chips.")
Cc: Eric Tremblay <[email protected]>
Reviewed-by: Javier Carrasco <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
