summaryrefslogtreecommitdiffstats
path: root/hw/nand.c
diff options
context:
space:
mode:
authorPeter Maydell2011-07-29 17:35:18 +0200
committerAndrzej Zaborowski2011-07-30 06:00:42 +0200
commitc4f05c8cf715fa613e1985421080e62a7b169284 (patch)
tree089b2ebc9eaee0a427d207277054285f9d8df8e1 /hw/nand.c
parenthw/omap_gpio.c: Convert to qdev (diff)
downloadqemu-c4f05c8cf715fa613e1985421080e62a7b169284.tar.gz
qemu-c4f05c8cf715fa613e1985421080e62a7b169284.tar.xz
qemu-c4f05c8cf715fa613e1985421080e62a7b169284.zip
lm832x: Take DeviceState pointer in lm832x_key_event()
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> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/nand.c')
0 files changed, 0 insertions, 0 deletions