summaryrefslogtreecommitdiffstats
path: root/sys/dev/spibus/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/spibus/spi.h')
-rw-r--r--sys/dev/spibus/spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/spibus/spi.h b/sys/dev/spibus/spi.h
index 0a75262..8206ac2 100644
--- a/sys/dev/spibus/spi.h
+++ b/sys/dev/spibus/spi.h
@@ -37,4 +37,6 @@ struct spi_command {
uint32_t rx_data_sz;
};
+#define SPI_COMMAND_INITIALIZER { 0 }
+
#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */
OpenPOWER on IntegriCloud