summaryrefslogtreecommitdiff
path: root/driver/ioexpander/pca9675.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ioexpander/pca9675.c')
-rw-r--r--driver/ioexpander/pca9675.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/ioexpander/pca9675.c b/driver/ioexpander/pca9675.c
index 3fe3bfa0c4..2bef06d19e 100644
--- a/driver/ioexpander/pca9675.c
+++ b/driver/ioexpander/pca9675.c
@@ -9,6 +9,10 @@
#include "ioexpander.h"
#include "pca9675.h"
+#ifdef CONFIG_IO_EXPANDER_SUPPORT_GET_PORT
+#error "This driver doesn't support get_port function"
+#endif
+
struct pca9675_ioexpander {
/* I/O port direction (1 = input, 0 = output) */
uint16_t io_direction;