From 7055c36e6fe009c995ba761e63202118ddaf9361 Mon Sep 17 00:00:00 2001 From: Arne Hoch Date: Fri, 13 Nov 2020 12:15:29 +0000 Subject: [PATCH] linux: Add missing struct in cname for Spi.IocTransfer There is no typedef, so "struct spi_ioc_transfer" needs to be used. --- vapi/linux.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/linux.vapi b/vapi/linux.vapi index 77107d178..25b5188f3 100644 --- a/vapi/linux.vapi +++ b/vapi/linux.vapi @@ -3849,7 +3849,7 @@ namespace Linux { [CCode (cprefix = "", lower_case_cprefix = "")] namespace Spi { - [CCode (cname = "spi_ioc_transfer", has_type_id = false, cheader_filename = "linux/spi/spidev.h")] + [CCode (cname = "struct spi_ioc_transfer", has_type_id = false, cheader_filename = "linux/spi/spidev.h")] public struct IocTransfer { public uint64 tx_buf; public uint64 rx_buf; -- 2.47.2