Skip to content

Integrate meta-seco-imx/linux-seco-imx/seco_lf-5.10.y-at24

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-imx/-/commit/bd2e1ca77399073f9ef8c11c80761bd8cfd7beb5

Integrate linux-seco-imx/seco_lf-5.10.y-at24

--

Commit: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/52ee8e45538d82cd88a9b5f4e8801fe42dbcbb70

[DRIVER] eeprom: at24: add support for ATMEL 24AA16

--

Commit: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/9cb0467d84268812718bc936b5599d4843587341

eeprom: at24: also select REGMAP

[ Upstream commit 7f3c782b3914e510b646a77aedc3adeac2e4a63b ]

Selecting only REGMAP_I2C can leave REGMAP unset, causing build errors, so also select REGMAP to prevent the build errors.

../drivers/misc/eeprom/at24.c:540:42: warning: 'struct regmap_config' declared inside parameter list will not be visible outside of this definition or declaration 540 | struct regmap_config *regmap_config) ../drivers/misc/eeprom/at24.c: In function 'at24_make_dummy_client': ../drivers/misc/eeprom/at24.c:552:18: error: implicit declaration of function 'devm_regmap_init_i2c' [-Werror=implicit-function-declaration] 552 | regmap = devm_regmap_init_i2c(dummy_client, regmap_config); ../drivers/misc/eeprom/at24.c:552:16: warning: assignment to 'struct regmap *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 552 | regmap = devm_regmap_init_i2c(dummy_client, regmap_config); ../drivers/misc/eeprom/at24.c: In function 'at24_probe': ../drivers/misc/eeprom/at24.c:586:16: error: variable 'regmap_config' has initializer but incomplete type 586 | struct regmap_config regmap_config = { }; ../drivers/misc/eeprom/at24.c:586:30: error: storage size of 'regmap_config' isn't known 586 | struct regmap_config regmap_config = { }; ../drivers/misc/eeprom/at24.c:586:30: warning: unused variable 'regmap_config' [-Wunused-variable]

Fixes: 5c015258478e ("eeprom: at24: add basic regmap_i2c support") Signed-off-by: Randy Dunlap rdunlap@infradead.org Signed-off-by: Bartosz Golaszewski bartosz.golaszewski@linaro.org Signed-off-by: Sasha Levin sashal@kernel.org

Merge request reports

Loading