diff mbox series

[v2] hw/intc: Move sifive_plic.h to the include directory

Message ID 1602577811-67343-1-git-send-email-bin.meng@windriver.com
State New
Headers show
Series [v2] hw/intc: Move sifive_plic.h to the include directory | expand

Commit Message

Bin Meng Oct. 13, 2020, 8:30 a.m. UTC
Since sifive_plic.h is used by hw/intc/sifive_plic.c,
it has to be in the public include directory. Move it.

Fixes: 84fcf3c15111 ("hw/riscv: Move sifive_plic model to hw/intc")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

---

Changes in v2:
- reword the commit message as Philippe suggested

 {hw => include/hw}/intc/sifive_plic.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {hw => include/hw}/intc/sifive_plic.h (100%)

Comments

Alistair Francis Oct. 14, 2020, 7:13 p.m. UTC | #1
On Tue, Oct 13, 2020 at 1:31 AM Bin Meng <bmeng.cn@gmail.com> wrote:
>

> Since sifive_plic.h is used by hw/intc/sifive_plic.c,

> it has to be in the public include directory. Move it.

>

> Fixes: 84fcf3c15111 ("hw/riscv: Move sifive_plic model to hw/intc")

> Signed-off-by: Bin Meng <bin.meng@windriver.com>

> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


Reviewed-by: Alistair Francis <alistair.francis@wdc.com>


Alistair

>

> ---

>

> Changes in v2:

> - reword the commit message as Philippe suggested

>

>  {hw => include/hw}/intc/sifive_plic.h | 0

>  1 file changed, 0 insertions(+), 0 deletions(-)

>  rename {hw => include/hw}/intc/sifive_plic.h (100%)

>

> diff --git a/hw/intc/sifive_plic.h b/include/hw/intc/sifive_plic.h

> similarity index 100%

> rename from hw/intc/sifive_plic.h

> rename to include/hw/intc/sifive_plic.h

> --

> 2.7.4

>

>
diff mbox series

Patch

diff --git a/hw/intc/sifive_plic.h b/include/hw/intc/sifive_plic.h
similarity index 100%
rename from hw/intc/sifive_plic.h
rename to include/hw/intc/sifive_plic.h