summaryrefslogtreecommitdiff
path: root/drivers/power/reset
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2017-01-05 13:03:36 -0800
committerDavid Collins <collinsd@codeaurora.org>2017-01-06 10:52:46 -0800
commit07f2f9952c78e03061565ff4e3fa9db9f660a11f (patch)
tree031823a8fb6dd5f3c6cb6d8a1438bf314f304625 /drivers/power/reset
parent054b950dfd1c9a33f093b4499438a6f7d19a2716 (diff)
input: move qpnp-power-on driver into input/misc directory
Move the qpnp-power-on driver from the drivers/input directory into the drivers/input/misc directory. This is the standard location where other power key drivers are kept. Also make a small fix to use octal instead of symbolic permissions for the ship_mode_en module parameter. Change-Id: I4d80c2ca0f161bd443dbfe0fcef822459c9fe44b Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'drivers/power/reset')
-rw-r--r--drivers/power/reset/msm-poweroff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/reset/msm-poweroff.c b/drivers/power/reset/msm-poweroff.c
index 267df592ba8a..cd02ed5bd46a 100644
--- a/drivers/power/reset/msm-poweroff.c
+++ b/drivers/power/reset/msm-poweroff.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -23,7 +23,7 @@
#include <linux/reboot.h>
#include <linux/pm.h>
#include <linux/delay.h>
-#include <linux/qpnp/power-on.h>
+#include <linux/input/qpnp-power-on.h>
#include <linux/of_address.h>
#include <asm/cacheflush.h>