diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-19 12:49:29 +0200 |
---|---|---|
committer | Thomas Huth <huth@tuxfamily.org> | 2023-11-01 07:31:05 +0100 |
commit | f213ccc96831191ac492bd36b9935effa01f95fd (patch) | |
tree | 7740c4bd7801e970de5c546b5a2f153fe485e787 /hw/m68k/next-cube.c | |
parent | 7f090ed7103df119fa33651ae15958ddb5863f56 (diff) |
hw/char/mcf_uart: Have mcf_uart_create() return DeviceState
There is no point in having mcf_uart_init() demote the DeviceState
pointer and return a void one. Directly return the real typedef.
mcf_uart_init() do both init + realize: rename as mcf_uart_create().
Similarly, mcf_uart_mm_init() do init / realize / mmap: rename as
mcf_uart_create_mmap().
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231019104929.16517-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'hw/m68k/next-cube.c')
0 files changed, 0 insertions, 0 deletions