summaryrefslogtreecommitdiff
path: root/driver/ioexpander_nct38xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ioexpander_nct38xx.h')
-rw-r--r--driver/ioexpander_nct38xx.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/driver/ioexpander_nct38xx.h b/driver/ioexpander_nct38xx.h
new file mode 100644
index 0000000000..bbd5d89ac0
--- /dev/null
+++ b/driver/ioexpander_nct38xx.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2019 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_IOEXPANDER_NCT38XX_H
+#define __CROS_EC_IOEXPANDER_NCT38XX_H
+/*
+ * NCT38XX registers are defined in the driver/tcpm/nct38xx.h.
+ * No matter they are used by TCPC or IO Expander driver.
+ */
+#include "nct38xx.h"
+
+extern const struct ioexpander_drv nct38xx_ioexpander_drv;
+
+#endif /* defined(__CROS_EC_IOEXPANDER_NCT38XX_H) */