dma/idxd: fix build on Windows
authorDavid Marchand <david.marchand@redhat.com>
Sat, 23 Oct 2021 06:29:34 +0000 (08:29 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Sat, 23 Oct 2021 06:52:25 +0000 (08:52 +0200)
commit6353ff43a791786f9aa1719d5d3510ae56bbaa7d
tree9211c07b92fc75f04c810b56091541e82ba69b22
parent6ad06203a587a8ce10392d9224e9fbdcb77b3d5c
dma/idxd: fix build on Windows

Windows compilation gives us a splat:
In file included from ../drivers/dma/idxd/idxd_pci.c:10:
In file included from ..\drivers\dma\idxd/idxd_internal.h:11:
..\drivers\dma\idxd/idxd_hw_defs.h:46:21: error: expected member name or
 ';' after declaration specifiers
        uint16_t __reserved[13];
        ~~~~~~~~           ^
1 error generated.

Ironically, __reserved is probably a reserved token.
Some drivers that build fine on Windows have structs with a "reserved"
field, let's go with this.

Fixes: 82147042d062 ("dma/idxd: add datapath structures")

Signed-off-by: David Marchand <david.marchand@redhat.com>
drivers/dma/idxd/idxd_hw_defs.h