aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/spigenio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/spigenio.h')
-rw-r--r--sys/sys/spigenio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/spigenio.h b/sys/sys/spigenio.h
index 4287cfec2d14..6ad9b01b634a 100644
--- a/sys/sys/spigenio.h
+++ b/sys/sys/spigenio.h
@@ -50,5 +50,7 @@ struct spigen_transfer_mmapped {
struct spigen_transfer_mmapped)
#define SPIGENIOC_GET_CLOCK_SPEED _IOR(SPIGENIOC_BASE, 2, uint32_t)
#define SPIGENIOC_SET_CLOCK_SPEED _IOW(SPIGENIOC_BASE, 3, uint32_t)
+#define SPIGENIOC_GET_SPI_MODE _IOR(SPIGENIOC_BASE, 4, uint32_t)
+#define SPIGENIOC_SET_SPI_MODE _IOW(SPIGENIOC_BASE, 5, uint32_t)
#endif /* !_SYS_SPIGENIO_H_ */