zpcimon: Add missing include for __packed attribute

The __packed attribute is used without including the necessary
zt_common.h header, add it. Note that luckily the struct as it currently
exists doesn't actually required __packed as the natural alignment
leaves no holes. Still if in the future the reserved field is split up
it would need it and this keeps it consistent with the kernel
declaration.

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Niklas Schnelle
2026-07-23 16:55:50 +02:00
committed by Jan Höppner
parent 1da328921b
commit 7586a1ad59

View File

@@ -1,6 +1,7 @@
#include <stdint.h>
#include "lib/pci_list.h"
#include "lib/zt_common.h"
#include "optics_info.h"