Splitted fm.h into generic, and device specific header.