diff mbox series

fixup! i2c: Add driver for the RTL9300 I2C controller

Message ID 20240929200934.965955-1-chris.packham@alliedtelesis.co.nz
State New
Headers show
Series fixup! i2c: Add driver for the RTL9300 I2C controller | expand

Commit Message

Chris Packham Sept. 29, 2024, 8:09 p.m. UTC
Hi Andi,

This is a fixup for the spare complaint from the kernel test robot
https://lore.kernel.org/lkml/202409291025.P4M4O1F2-lkp@intel.com/#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.
---
 drivers/i2c/busses/i2c-rtl9300.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andi Shyti Oct. 2, 2024, 10:57 a.m. UTC | #1
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@intel.com/#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
>
diff mbox series

Patch

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,