summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/devres.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2016-12-26 20:37:38 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 10:04:11 +0900
commite6cf046543763878614d51e8283abd40d5e5327e (patch)
treecce169528406f448b03d82c2d6ee036b1ef03bca /drivers/extcon/devres.c
parent6e3a7e89ff1a13d6e09f63ce9eff4ad3fad7b544 (diff)
downloadtalos-obmc-linux-e6cf046543763878614d51e8283abd40d5e5327e.tar.gz
talos-obmc-linux-e6cf046543763878614d51e8283abd40d5e5327e.zip
extcon: Move defintion of struct extcon_dev to driver/extcon directory
This patch moves the 'struct extcon_dev' of extcon subsystem to driver/extcon/extcon.h header file because the struct extcon_dev have to be handled by extcon API to guarantee the consistency of strcut extcon_dev. If external drivers are able to touch the struct extcon_dev directly, it might cause the critical and unknown problem. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/devres.c')
-rw-r--r--drivers/extcon/devres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/devres.c b/drivers/extcon/devres.c
index e686acd1c459..b40eb1805927 100644
--- a/drivers/extcon/devres.c
+++ b/drivers/extcon/devres.c
@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
-#include <linux/extcon.h>
+#include "extcon.h"
static int devm_extcon_dev_match(struct device *dev, void *res, void *data)
{
OpenPOWER on IntegriCloud