Skip to contentSkip to conversation

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

PATCH Superseded Bin Meng 2 participants 2 messages Oct 13, 2020 – Oct 14, 2020 SiFive drivers

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

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

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")

---

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%)
include/hw/intc/sifive_plic.h renamed from hw/intc/sifive_plic.h +0 -0
similarity index 100%
rename from hw/intc/sifive_plic.h
rename to include/hw/intc/sifive_plic.h
Signature · 1 line
2.7.4
Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · Bin Meng

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")

Alistair

Quoted 18 lines

---

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%)
include/hw/intc/sifive_plic.h renamed from hw/intc/sifive_plic.h +0 -1
similarity index 100%
rename from hw/intc/sifive_plic.h
rename to include/hw/intc/sifive_plic.h
--

2.7.4