diff mbox series

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

Message ID 1602577156-66090-1-git-send-email-bin.meng@windriver.com
State Superseded
Headers show
Series hw/intc: Move sifive_plic.h to the include directory | expand

Commit Message

Bin Meng Oct. 13, 2020, 8:19 a.m. UTC
sifive_plic.h should be put in the include directory.

Fixes: 84fcf3c15111 ("hw/riscv: Move sifive_plic model to hw/intc")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---

 {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

Philippe Mathieu-Daudé Oct. 13, 2020, 8:25 a.m. UTC | #1
On 10/13/20 10:19 AM, Bin Meng wrote:
> sifive_plic.h should be put in the include directory.

Maybe:

"Since sifive_plic.h is used by hw/intc/sifive_plic.c,
  it has to be in the public include directory. Move it."

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

> 
> Fixes: 84fcf3c15111 ("hw/riscv: Move sifive_plic model to hw/intc")
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> ---
> 
>   {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
>
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