diff options
| author | Max Kellermann <max.kellermann@ionos.com> | 2025-08-29 12:14:41 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-12 14:01:03 +0300 |
| commit | 7ec4408625917aa83de1f08a75f3c7fc5f3f50fb (patch) | |
| tree | 18726eade00f31e59562859a1e53fffbd4d9ca06 /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 7c35d12fd23a5f59eb9bedb69dbc9d80d0dbef1d (diff) | |
| download | linux-7ec4408625917aa83de1f08a75f3c7fc5f3f50fb.tar.xz | |
drivers/misc/amd-sbi/Kconfig: select REGMAP_I2C
commit 5f8f84e286f11af4c954c14a57daffc80a1c3510 upstream.
Without CONFIG_REGMAP, rmi-i2c.c fails to build because struct
regmap_config is not defined:
drivers/misc/amd-sbi/rmi-i2c.c: In function ‘sbrmi_i2c_probe’:
drivers/misc/amd-sbi/rmi-i2c.c:57:16: error: variable ‘sbrmi_i2c_regmap_config’ has initializer but incomplete type
57 | struct regmap_config sbrmi_i2c_regmap_config = {
| ^~~~~~~~~~~~~
Additionally, CONFIG_REGMAP_I2C is needed for devm_regmap_init_i2c():
ld: drivers/misc/amd-sbi/rmi-i2c.o: in function `sbrmi_i2c_probe':
drivers/misc/amd-sbi/rmi-i2c.c:69:(.text+0x1c0): undefined reference to `__devm_regmap_init_i2c'
Fixes: 013f7e7131bd ("misc: amd-sbi: Use regmap subsystem")
Cc: stable@vger.kernel.org
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Tested-by: Akshay Gupta <Akshay.Gupta@amd.com>
Reviewed-by: Akshay Gupta <Akshay.Gupta@amd.com>
Link: https://lore.kernel.org/r/20250829091442.1112106-1-max.kellermann@ionos.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
