mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-01 15:15:19 -04:00
i2c: amd-isp: Initialize unique adapter name
Initialize unique name for amdisp i2c adapter, which is used in the platform driver to detect the matching adapter for i2c_client creation. Add definition of amdisp i2c adapter name in a new header file (include/linux/soc/amd/isp4_misc.h) as it is referred in different driver modules. Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20250609155601.1477055-3-pratap.nirujogi@amd.com
This commit is contained in:
committed by
Andi Shyti
parent
942e1aece1
commit
c8dc579169
12
include/linux/soc/amd/isp4_misc.h
Normal file
12
include/linux/soc/amd/isp4_misc.h
Normal file
@@ -0,0 +1,12 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
/*
|
||||
* Copyright (C) 2025 Advanced Micro Devices, Inc.
|
||||
*/
|
||||
|
||||
#ifndef __SOC_ISP4_MISC_H
|
||||
#define __SOC_ISP4_MISC_H
|
||||
|
||||
#define AMDISP_I2C_ADAP_NAME "AMDISP DesignWare I2C adapter"
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user