driver and I've found this:
static struct pci_device_id xmm7360_ids[] = { {
PCI_DEVICE(0x8086, 0x7360),
},
{
0,
} };
I didn't know a struct could be initialized as an array (if [ ] notation means that in this context), what this means?
[] means uninitilised array there can be arrays of structures with members having different values each in the case of a driver the pci can be connected to multiple devices and it inits structure values for each device
thank you very much! All clear :)
where can i find this code?
Обсуждают сегодня