dm: Use dm.h header when driver mode is used