power: reset: reboot-mode: Make include file global
authorBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 27 May 2017 06:51:29 +0000 (23:51 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 8 Jun 2017 16:18:19 +0000 (18:18 +0200)
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 <bjorn.andersson@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/reset/reboot-mode.c
drivers/power/reset/syscon-reboot-mode.c
include/linux/reboot-mode.h [moved from drivers/power/reset/reboot-mode.h with 100% similarity]

index fb51218..8f975ca 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/reboot.h>
-#include "reboot-mode.h"
+#include <linux/reboot-mode.h>
 
 #define PREFIX "mode-"
 
index c8c371b..563a97d 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/reboot.h>
 #include <linux/regmap.h>
 #include <linux/mfd/syscon.h>
-#include "reboot-mode.h"
+#include <linux/reboot-mode.h>
 
 struct syscon_reboot_mode {
        struct regmap *map;