hw/timer/pl031: Allow use as an embedded-struct device
commitb0de99f3e9bc7a0cacbff0ff8517379d915dd5f6
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)
treed7082a05fe0bdd6bd08b382b5bb545e031977688
parent37e571f1e0101f9aab29235afa651028723eb4c5
hw/timer/pl031: Allow use as an embedded-struct device

Create a new include file for the pl031'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>
MAINTAINERS
hw/timer/pl031.c
include/hw/timer/pl031.h [new file with mode: 0644]