summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/chrome/cros_ec.h')
-rw-r--r--drivers/platform/chrome/cros_ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/chrome/cros_ec.h b/drivers/platform/chrome/cros_ec.h
index 6b95f1e0bace..cd4643bc5367 100644
--- a/drivers/platform/chrome/cros_ec.h
+++ b/drivers/platform/chrome/cros_ec.h
@@ -11,6 +11,9 @@
#include <linux/interrupt.h>
struct cros_ec_device;
+struct device;
+
+struct cros_ec_device *cros_ec_device_alloc(struct device *dev);
int cros_ec_register(struct cros_ec_device *ec_dev);
void cros_ec_unregister(struct cros_ec_device *ec_dev);