How to create a module for other linux kernel fork?

Any ideas how to modify this module to use the Linux Xilinx fork?

I’m having trouble how to declare the defconfig part.

Regards