summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/hw/w5500.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-26 02:58:42 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-26 02:58:42 -0600
commit7f3507b606b0f5c0c44cc59eb27e87575cf87701 (patch)
tree7a94f620d7bb5920916f17139dcf37a2b68b065d /cmd/sbc_harness/hw/w5500.c
parent1dad21650eb6fb3a4b9bba6c0ddd1402930163e2 (diff)
conventions: Don't have 2 ways to spell "implements_foo"
Stop defining "struct foo" as a synonym for "implements_foo".
Diffstat (limited to 'cmd/sbc_harness/hw/w5500.c')
-rw-r--r--cmd/sbc_harness/hw/w5500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sbc_harness/hw/w5500.c b/cmd/sbc_harness/hw/w5500.c
index a6cdc8b..5e36bcf 100644
--- a/cmd/sbc_harness/hw/w5500.c
+++ b/cmd/sbc_harness/hw/w5500.c
@@ -170,7 +170,7 @@ static void w5500_intrhandler(uint gpio, uint32_t UNUSED(event_mask)) {
}
void _w5500_init(struct w5500 *chip,
- struct spi* spi, uint pin_intr, uint pin_reset,
+ implements_spi *spi, uint pin_intr, uint pin_reset,
struct net_eth_addr addr) {
assert(chip);
assert(spi);