diff options
-rw-r--r-- | drivers/staging/pi433/pi433_if.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 88889b5d5309..1e467693d546 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -408,9 +408,8 @@ static int pi433_start_rx(struct pi433_device *pi433) /*-------------------------------------------------------------------------*/ -static int pi433_receive(void *data) +static int pi433_receive(struct pi433_device *pi433) { - struct pi433_device *pi433 = data; struct spi_device *spi = pi433->spi; int bytes_to_read, bytes_total; int retval; |