From: Bjorn Andersson Date: Sat, 27 May 2017 06:51:29 +0000 (-0700) Subject: power: reset: reboot-mode: Make include file global X-Git-Tag: v4.13-rc1~172^2~12^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f1bea8793d939e594afb3407c26d9cec8792d42f;p=karo-tx-linux.git power: reset: reboot-mode: Make include file global Move the reboot-mode.h include file into include/linux to allow drivers outside drivers/power/reset to implement reboot-mode. Signed-off-by: Bjorn Andersson Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/reset/reboot-mode.c b/drivers/power/reset/reboot-mode.c index fb512183ace3..8f975ca0a8c4 100644 --- a/drivers/power/reset/reboot-mode.c +++ b/drivers/power/reset/reboot-mode.c @@ -13,7 +13,7 @@ #include #include #include -#include "reboot-mode.h" +#include #define PREFIX "mode-" diff --git a/drivers/power/reset/syscon-reboot-mode.c b/drivers/power/reset/syscon-reboot-mode.c index c8c371b285b1..563a97d7f73e 100644 --- a/drivers/power/reset/syscon-reboot-mode.c +++ b/drivers/power/reset/syscon-reboot-mode.c @@ -15,7 +15,7 @@ #include #include #include -#include "reboot-mode.h" +#include struct syscon_reboot_mode { struct regmap *map; diff --git a/drivers/power/reset/reboot-mode.h b/include/linux/reboot-mode.h similarity index 100% rename from drivers/power/reset/reboot-mode.h rename to include/linux/reboot-mode.h