create a specific version of function by model

I need to have a function which is different for some model. (like eg: fr235, vivoactive ...)

what is the best way to do that ?

thanks