summaryrefslogtreecommitdiff
path: root/include/linux
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 /include/linux
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 'include/linux')
-rw-r--r--include/linux/input/qpnp-power-on.h (renamed from include/linux/qpnp/power-on.h)4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/qpnp/power-on.h b/include/linux/input/qpnp-power-on.h
index da8f5a8622dd..a2624ab57826 100644
--- a/include/linux/qpnp/power-on.h
+++ b/include/linux/input/qpnp-power-on.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2015, 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
@@ -60,7 +60,7 @@ enum pon_restart_reason {
PON_RESTART_REASON_KEYS_CLEAR = 0x06,
};
-#ifdef CONFIG_QPNP_POWER_ON
+#ifdef CONFIG_INPUT_QPNP_POWER_ON
int qpnp_pon_system_pwr_off(enum pon_power_off_type type);
int qpnp_pon_is_warm_reset(void);
int qpnp_pon_trigger_config(enum pon_trigger_source pon_src, bool enable);