From 8dbd01219153439687b01f52e7728af4ac31e9d8 Mon Sep 17 00:00:00 2001 From: vidhya-rajan <121014183+vidhya-rajan@users.noreply.github.com> Date: Tue, 20 Aug 2024 23:59:23 +0530 Subject: [PATCH] I2c dummy device API change (#17703) --- .../midstone-200i/modules/mc24lc64t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/innovium/sonic-platform-modules-cel/midstone-200i/modules/mc24lc64t.c b/platform/innovium/sonic-platform-modules-cel/midstone-200i/modules/mc24lc64t.c index a391056d09a7..002172f587e8 100755 --- a/platform/innovium/sonic-platform-modules-cel/midstone-200i/modules/mc24lc64t.c +++ b/platform/innovium/sonic-platform-modules-cel/midstone-200i/modules/mc24lc64t.c @@ -94,7 +94,7 @@ static int mc24lc64t_probe(struct i2c_client *client, sizeof(struct mc24lc64t_data), GFP_KERNEL))) return -ENOMEM; - drvdata->fake_client = i2c_new_dummy(client->adapter, client->addr + 1); + drvdata->fake_client = i2c_new_dummy_device(client->adapter, client->addr + 1); if (!drvdata->fake_client) return -ENOMEM;