[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 01/13] hw/input/lm832x: Move lm832x_key_event() declaratio
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 01/13] hw/input/lm832x: Move lm832x_key_event() declaration to "lm832x.h" |
Date: |
Wed, 16 Jun 2021 21:23:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 6/16/21 8:38 PM, Richard Henderson wrote:
> On 6/16/21 9:14 AM, Philippe Mathieu-Daudé wrote:
>> lm832x_key_event() is specific go LM832x devices, not to the
>> I2C bus API. Move it out of "i2c.h" to a new header.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> include/hw/i2c/i2c.h | 3 ---
>> include/hw/input/lm832x.h | 26 ++++++++++++++++++++++++++
>> hw/arm/nseries.c | 1 +
>> hw/input/lm832x.c | 1 +
>> MAINTAINERS | 1 +
>> 5 files changed, 29 insertions(+), 3 deletions(-)
>> create mode 100644 include/hw/input/lm832x.h
>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
>
>
>> +#ifndef HW_INPUT_LM832X
>> +#define HW_INPUT_L
>
> You fix this error in the next patch, but better here.
Oops! I didn't noticed... Something got wrong while re-ordering
during rebase, thanks for telling me!
- [PATCH v3 00/13] hw/i2c: Remove confusing i2c_send_recv() API, Philippe Mathieu-Daudé, 2021/06/16
- [PATCH v3 01/13] hw/input/lm832x: Move lm832x_key_event() declaration to "lm832x.h", Philippe Mathieu-Daudé, 2021/06/16
- [PATCH v3 02/13] hw/input/lm832x: Define TYPE_LM8323 in public header, Philippe Mathieu-Daudé, 2021/06/16
- [PATCH v3 03/13] hw/display/sm501: Simplify sm501_i2c_write() logic, Philippe Mathieu-Daudé, 2021/06/16
- [PATCH v3 04/13] hw/display/sm501: Replace i2c_send_recv() by i2c_recv() & i2c_send(), Philippe Mathieu-Daudé, 2021/06/16
- [PATCH v3 05/13] hw/i2c/ppc4xx_i2c: Add reference to datasheet, Philippe Mathieu-Daudé, 2021/06/16
- [PATCH v3 06/13] hw/i2c/ppc4xx_i2c: Replace i2c_send_recv() by i2c_recv() & i2c_send(), Philippe Mathieu-Daudé, 2021/06/16