diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-02 02:42:00 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-09 23:42:11 -0700 |
commit | cb0c00a240c0d803e7202433f9940a91db849a5c (patch) | |
tree | 4d9a25b1ef15dac74aa9bb33da4b2327eb9aefd2 /libhw/w5500.c | |
parent | 41ac4f8dfddc8d003cb3174d466a58fa14701d35 (diff) |
libhw_generic: spi: Use libobj instead of vcall.h
Diffstat (limited to 'libhw/w5500.c')
-rw-r--r-- | libhw/w5500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhw/w5500.c b/libhw/w5500.c index 5a9a718..2c130f5 100644 --- a/libhw/w5500.c +++ b/libhw/w5500.c @@ -333,10 +333,10 @@ static void w5500_intrhandler(uint gpio, uint32_t LM_UNUSED(event_mask)) { } void _w5500_init(struct w5500 *chip, - implements_spi *spi, uint pin_intr, uint pin_reset, + lo_interface spi spi, uint pin_intr, uint pin_reset, struct net_eth_addr addr) { assert(chip); - assert(spi); + assert(!LO_IS_NULL(spi)); /* Initialize the data structures. */ *chip = (struct w5500){ |