Commit Message

Since lm832x has been qdev'ified, its users will generally
have a DeviceState pointer rather than an i2c_slave pointer,
so adjust lm832x_key_event's prototype to suit.
This allows the n810 (its only user) to actually pass a correct
pointer to it rather than NULL. The effect is that we no longer
segfault when a key is pressed.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
hw/i2c.h | 2 +-
hw/lm832x.c | 4 ++--
hw/nseries.c | 7 +++----
3 files changed, 6 insertions(+), 7 deletions(-)