Re: [PATCH v3 08/16] i2c: Let i2c-core.h include <linux/i2c.h>
From: Wolfram Sang
Date: Mon Jun 29 2026 - 02:32:04 EST
On Sun, Jun 28, 2026 at 11:58:43PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> The subsystem private header i2c-core.h uses several symbols defined in
> <linux/i2c.h>, e.g. struct i2c_board_info and i2c_lock_bus()). This
> doesn't pose a problem in practise because all files including
> "i2c-core.h" also include <linux/i2c.h>.
>
> To make this more robust add an include statement for <linux/i2c.h>
> making the header self-contained.
>
> Acked-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
This shall go upstream with the rest of the series, right?
Attachment:
signature.asc
Description: PGP signature