OSDN Git Service

extcon: Add missing header file to extcon.h
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 8 Nov 2012 09:39:41 +0000 (18:39 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 20 Nov 2012 07:00:45 +0000 (16:00 +0900)
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>
include/linux/extcon.h

index 2c26c14..54c00ce 100644 (file)
@@ -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