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 SiFive drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

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

sifive_plic.h should be put in the include directory.

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

---

 {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 v1 1/1
#1 lore raw
Quoted 1 line · Bin Meng

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

Quoted 14 lines
Fixes 84fcf3c15111 ("hw/riscv: Move sifive_plic model to hw/intc")

---

  {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