Custom OOT AMS TMF882X driver - multiple definition of `__device_dts_ord_xx'

Hi everyone,

I am currently trying to implement a new OOT driver for a ToF sensor made by AMS, the TMF882X.

I have made a kind of skeleton driver based on another one (Sensirion SCD4X).

While compiling my driver i get the following error which I cannot track down and find the cause of it.

It seems that there's multiple definitions during linking of my driver.

I could not find much while searching online

I've also posted all my source files for the driver.

Any help would be greatly appreciated.

tmf882x_testing.rar

Related