summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/hw/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness/hw/spi.h')
-rw-r--r--cmd/sbc_harness/hw/spi.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd/sbc_harness/hw/spi.h b/cmd/sbc_harness/hw/spi.h
index 86b831e..653e80f 100644
--- a/cmd/sbc_harness/hw/spi.h
+++ b/cmd/sbc_harness/hw/spi.h
@@ -40,11 +40,8 @@ struct spi_vtable {
void (*readwritev)(struct spi *, const struct bidi_iovec *iov, int iovcnt);
};
-struct spi {
+typedef struct spi {
struct spi_vtable *vtable;
-
- /* This is where your implementation data goes. */
- char data[0];
-};
+} implements_spi;
#endif /* _HW_SPI_H_ */