Commit 577c1e0e authored by Pratap Nirujogi's avatar Pratap Nirujogi Committed by Andi Shyti
Browse files

platform/x86: Use i2c adapter name to fix build errors



Use adapater->name inplace of adapter->owner->name to fix
build issues when CONFIG_MODULES is not defined.

Fixes: 90b85567 ("platform/x86: Add AMD ISP platform config for OV05C10")
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/all/04577a46-9add-420c-b181-29bad582026d@infradead.org


Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarPratap Nirujogi <pratap.nirujogi@amd.com>
Requires: 942e1aec ("i2c: designware: Initialize adapter name only when not set"
Requires: c8dc5791 ("i2c: amd-isp: Initialize unique adapter name")
Acked-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250609155601.1477055-4-pratap.nirujogi@amd.com
parent c8dc5791
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment