This function should also at least check that the driver's init, start, reset and process functions are non-NULL since the State module seems to be assuming this without checking it.