Cannot build new image with loadable kernel modules

Hi, I am trying to build an image using kernel version socfpga-4.14.73-ltsi and using Buildroot 2018.02.10 but I am getting an error when I include my loadable kernel driver modules.

My previous images using socfpga 3.10 and 4.9 were both successful but I am getting this issue with the 4.14 version and that’s why I think that the errors reported by the compiler might not exactly be the source of my problem but more likely that a change from 4.9 to 4.14 is preventing me from using the files as I have right now.

I would really appreciate any help. Thank you

Found the solution. DRIVER_ATTR is not used anymore