[PATCH v2] i2c: designware_i2c: Staticize driver ops

Heiko Schocher hs at nabladev.com
Thu May 14 15:33:29 CEST 2026


Hello Marek,

On 08.05.26 14:20, Marek Vasut wrote:
> Set the ops structure as static. The structure is not accessible
> from outside of this driver.
> 
> Reviewed-by: Heiko Schocher <hs at nabladev.com>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Heiko Schocher <hs at nabladev.com>
> Cc: Maarten Brock <Maarten.Brock at sttls.nl>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: u-boot at lists.denx.de
> ---
> V2: - Add RB from Heiko
>      - Drop the const part, this conflicts with ACPI_OPS_PTR macro
> ---
>   drivers/i2c/designware_i2c_pci.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-i2c

Thanks!

bye,
Heiko
-- 
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: office at nabladev.com
Geschäftsführer : Stefano Babic


More information about the U-Boot mailing list