Message ID | 20190210130617.8392-2-tomli@tomli.me (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Series | mips: loongson64: move EC header to include/asm/mach-loongson64 | expand |
diff --git a/arch/mips/loongson64/lemote-2f/ec_kb3310b.h b/arch/mips/include/asm/mach-loongson64/ec_kb3310b.h similarity index 100% rename from arch/mips/loongson64/lemote-2f/ec_kb3310b.h rename to arch/mips/include/asm/mach-loongson64/ec_kb3310b.h diff --git a/arch/mips/loongson64/lemote-2f/ec_kb3310b.c b/arch/mips/loongson64/lemote-2f/ec_kb3310b.c index 321822997e76..6e416d55b42a 100644 --- a/arch/mips/loongson64/lemote-2f/ec_kb3310b.c +++ b/arch/mips/loongson64/lemote-2f/ec_kb3310b.c @@ -15,7 +15,7 @@ #include <linux/spinlock.h> #include <linux/delay.h> -#include "ec_kb3310b.h" +#include <ec_kb3310b.h> static DEFINE_SPINLOCK(index_access_lock); static DEFINE_SPINLOCK(port_access_lock); diff --git a/arch/mips/loongson64/lemote-2f/reset.c b/arch/mips/loongson64/lemote-2f/reset.c index a26ca7fcd7e0..6c615c7b08d0 100644 --- a/arch/mips/loongson64/lemote-2f/reset.c +++ b/arch/mips/loongson64/lemote-2f/reset.c @@ -20,7 +20,7 @@ #include <loongson.h> #include <cs5536/cs5536.h> -#include "ec_kb3310b.h" +#include <ec_kb3310b.h> static void reset_cpu(void) {
In order to operate the Embedded Controller from multiple platform drivers, it should be possible to include lemote-2f/ec_kb3310b.h from everywhere. This commits move it from lemote-2f/ec_kb3310b.h to include/asm/mach-loongson64/. Signed-off-by: Yifeng Li <tomli@tomli.me> --- .../lemote-2f => include/asm/mach-loongson64}/ec_kb3310b.h | 0 arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 2 +- arch/mips/loongson64/lemote-2f/reset.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arch/mips/{loongson64/lemote-2f => include/asm/mach-loongson64}/ec_kb3310b.h (100%)