[PATCH linux dev-6.18 v2] eeprom: ee1004: Fix build error
Konstantin Aladyshev <[email protected]>
| Newsgroups | org.ozlabs.lists.openbmc |
|---|---|
| Message-ID | <[email protected]> |
Currently driver compilation fails because of the undeclared
'ee1004_groups' variable.
This variable was deleted in the commit
79d0df36b541 ("eeprom: ee1004: Add nvmem support")
but by mistake was used in the commit
1b9ab93850ac ("eeprom: ee1004: Add OF matching support").
Remove 'ee1004_groups' usage from the driver to fix the compilation.
Fixes: 1b9ab93850ac ("eeprom: ee1004: Add OF matching support")
Signed-off-by: Konstantin Aladyshev <[email protected]>
---
drivers/misc/eeprom/ee1004.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/eeprom/ee1004.c b/drivers/misc/eeprom/ee1004.c
index 639615749e2f..e1a571b77de9 100644
--- a/drivers/misc/eeprom/ee1004.c
+++ b/drivers/misc/eeprom/ee1004.c
@@ -347,7 +347,6 @@ static int ee1004_probe(struct i2c_client *client)
static struct i2c_driver ee1004_driver = {
.driver = {
.name = "ee1004",
- .dev_groups = ee1004_groups,
.of_match_table = ee1004_of_match,
},
.probe = ee1004_probe,
--
2.43.0