hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/linux/platform_data/itco_wdt.h
....@@ -12,13 +12,16 @@
1212 #define ICH_RES_MEM_OFF 2
1313 #define ICH_RES_MEM_GCS_PMC 0
1414
15
+/**
16
+ * struct itco_wdt_platform_data - iTCO_wdt platform data
17
+ * @name: Name of the platform
18
+ * @version: iTCO version
19
+ * @no_reboot_use_pmc: Use PMC BXT API to set and clear NO_REBOOT bit
20
+ */
1521 struct itco_wdt_platform_data {
1622 char name[32];
1723 unsigned int version;
18
- /* private data to be passed to update_no_reboot_bit API */
19
- void *no_reboot_priv;
20
- /* pointer for platform specific no reboot update function */
21
- int (*update_no_reboot_bit)(void *priv, bool set);
24
+ bool no_reboot_use_pmc;
2225 };
2326
2427 #endif /* _ITCO_WDT_H_ */