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é
>> ---
>> include/hw/i2c/i2c.h
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é
---
include/hw/i2c/i2c.h | 3 ---
include/hw/input/lm832x.h | 26 +++
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é
---
include/hw/i2c/i2c.h | 3 ---
include/hw/input/lm832x.h | 26 ++
hw/arm/nseries.c | 1 +
hw/input/lm