[PATCH v2 4/7] Fix the watchdog drivers detection code