Home
last modified time | relevance | path

Searched hist:f60f3670 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice.rsf60f3670 Tue Oct 15 07:46:42 CDT 2024 Paolo Bonzini <pbonzini@redhat.com> rust: do not use TYPE_CHARDEV unnecessarily

In the invocation of qdev_prop_set_chr(), "chardev" is the name of a
property rather than a type and has to match the name of the property
in device_class.rs. Do not use TYPE_CHARDEV here, just like in the C
version of pl011_create.

Reviewed-by: Junjie Mao <junjie.mao@hotmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>