OSDN Git Service

hw/ssi/pl022: Allow use as embedded-struct device
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:44 +0000 (13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:44 +0000 (13:17 +0100)
commit1d52866f5a53feef036c2e8f9b3a6a30209d48a7
treefe584946cfc469d566caa22b5b1bdd450177ae6e
parent28e56f05fc688917cf35c39c0ba97afb7f1ab0f3
hw/ssi/pl022: Allow use as embedded-struct device

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

While we're adding the new file to MAINTAINERS, add
also the .c file, which was missing an entry.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180820141116.9118-16-peter.maydell@linaro.org
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
MAINTAINERS
hw/ssi/pl022.c
include/hw/ssi/pl022.h [new file with mode: 0644]