summaryrefslogtreecommitdiff
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2012-11-08 13:39:41 +0400
committerChanwoo Choi <cw00.choi@samsung.com>2012-11-20 11:00:45 +0400
commitd851718f65d646c5033a28fa60631440c6dc0d4f (patch)
tree28c22912b6407dd575e3c10c030285e832f5aaf1 /include/linux/extcon.h
parentbe31cc0bc9e6d24d7bd069a4eae81aa9fcf5d2cd (diff)
downloadlinux-d851718f65d646c5033a28fa60631440c6dc0d4f.tar.xz
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