hw/char/pl011: Allow use as an embedded-struct device
commit694cf209990f7b7a6f6f30b21010bab92c985175
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:46 +0000 (21 18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:46 +0000 (21 18:17 +0000)
tree8eb7ffda034d5cd84b6854c430d67a550e8aab4d
parentdd849ef2c9d57a329c6001c58dbdf49de712349c
hw/char/pl011: Allow use as an embedded-struct device

Create a new include file for the pl011's device struct,
type macros, etc, so that it can be instantiated using
the "embedded struct" coding style.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/char/pl011.c
include/hw/char/pl011.h