From cb0c00a240c0d803e7202433f9940a91db849a5c Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 2 Feb 2025 02:42:00 -0700 Subject: libhw_generic: spi: Use libobj instead of vcall.h --- libhw/w5500.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhw/w5500.c') 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){ -- cgit v1.2.3-2-g168b