Re: [PATCH] fixup! i2c: Add driver for the RTL9300 I2C controller

From: Andi Shyti
Date: Wed Oct 02 2024 - 06:59:08 EST


Hi Chris,

On Mon, Sep 30, 2024 at 09:09:34AM GMT, Chris Packham wrote:
> Hi Andi,
>
> This is a fixup for the spare complaint from the kernel test robot
> https://lore.kernel.org/lkml/202409291025.P4M4O1F2-lkp@xxxxxxxxx/#t
>
> Not sure if you want to fold this into what is already in
> andi-shyti/i2c/i2c-host or if you want me to send it as a new patch.

no worries, I can take care of it.

Andi

> ---
> drivers/i2c/busses/i2c-rtl9300.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-rtl9300.c b/drivers/i2c/busses/i2c-rtl9300.c
> index ed9a45a9d803..f0bb0ede79ce 100644
> --- a/drivers/i2c/busses/i2c-rtl9300.c
> +++ b/drivers/i2c/busses/i2c-rtl9300.c
> @@ -318,7 +318,7 @@ static const struct i2c_algorithm rtl9300_i2c_algo = {
> .functionality = rtl9300_i2c_func,
> };
>
> -struct i2c_adapter_quirks rtl9300_i2c_quirks = {
> +static struct i2c_adapter_quirks rtl9300_i2c_quirks = {
> .flags = I2C_AQ_NO_CLK_STRETCH,
> .max_read_len = 16,
> .max_write_len = 16,
> --
> 2.46.2
>