sbsa_gwdt: Add WDIOF_PRETIMEOUT flag to watchdog_info at defination
ascend inclusion
category: bugfix
bugzilla: NA
-------------------
This flag is used by watchdog-core to determine the visibility of the
attributes associated with pretimout when the watchdog-core probes the
device. If we set the flag after that process those attributes could not
be create properly.
Fixes: 569f7c7750c1 ("sbsa_gwdt: Introduce a panic notifier")
Signed-off-by: NWang Wensheng <wangwensheng4@huawei.com>
Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Showing
想要评论请 注册 或 登录