]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: Use i2c adapter name to fix build errors
authorPratap Nirujogi <pratap.nirujogi@amd.com>
Mon, 9 Jun 2025 15:53:57 +0000 (11:53 -0400)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 25 Jun 2025 21:39:22 +0000 (23:39 +0200)
commit577c1e0ef351e41aba764816232a9feb7a9b3969
tree36c7f1453dc910ad1f8ae524aa2516728dd1656e
parentc8dc579169738a3546f57ecb38e62d3872a3cc04
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: 90b85567e457 ("platform/x86: Add AMD ISP platform config for OV05C10")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/all/04577a46-9add-420c-b181-29bad582026d@infradead.org
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
Requires: 942e1aece13e ("i2c: designware: Initialize adapter name only when not set"
Requires: c8dc57916973 ("i2c: amd-isp: Initialize unique adapter name")
Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250609155601.1477055-4-pratap.nirujogi@amd.com
drivers/platform/x86/amd/amd_isp4.c