Hello Ben Vozza,
Can you let me know where you got the driver header file? If possible please add it as an attachment in your response.
Also, what IDE are you using (IAR, Keil, KDS, CW, S32DS)?
Typically such kind of driver relies on the syntax of the device header file, and there might be differences in the header files provided with different IDEs, leading to those errors. However latest NXP IDE platforms (KDS, S32DS) are using CMSIS compliant header files.
Regards!
Jorge Gonzalez