Commit ad021fc0 authored by Hui Wang's avatar Hui Wang Committed by popcornmix
Browse files

ASoC: pisound: fix the parameter for spi_device_match



Signed-off-by: default avatarHui Wang <hui.wang@canonical.com>
parent a744810f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ static int spi_read_bytes(char *dst, size_t length, uint8_t *bytesRead)
	return 0;
}

static int spi_device_match(struct device *dev, void *data)
static int spi_device_match(struct device *dev, const void *data)
{
	struct spi_device *spi = container_of(dev, struct spi_device, dev);