aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2012-11-08 18:39:41 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2012-11-20 16:00:45 +0900
commitd851718f65d646c5033a28fa60631440c6dc0d4f (patch)
tree28c22912b6407dd575e3c10c030285e832f5aaf1 /include/linux/extcon.h
parentextcon: arizona: unlock mutex on error path in arizona_micdet() (diff)
downloadwireguard-linux-d851718f65d646c5033a28fa60631440c6dc0d4f.tar.xz
wireguard-linux-d851718f65d646c5033a28fa60631440c6dc0d4f.zip
extcon: Add missing header file to extcon.h
This patch add missing header file(sysfs.h/device.h) to extcon.h because 'struct extcon_dev' define attribute field(attr_g_muex/ attrs_muex/d_attrs_mues) and device_type field(extcon_dev_type). Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r--include/linux/extcon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index 2c26c14cd710..54c00ce9ce7a 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -23,7 +23,9 @@
#ifndef __LINUX_EXTCON_H__
#define __LINUX_EXTCON_H__
+#include <linux/device.h>
#include <linux/notifier.h>
+#include <linux/sysfs.h>
#define SUPPORTED_CABLE_MAX 32
#define CABLE_NAME_MAX 30