···223 pcwd_private.command_mode = 0;224}225000000226static void pcwd_timer_ping(unsigned long data)227{228 int wdrst_stat;···629 * Init & exit routines630 */631632-static inline void get_support(void)633-{634- if (inb(pcwd_private.io_addr) != 0xF0)635- pcwd_private.supports_temp = 1;636-}637-638static inline int get_revision(void)639{640 int r = PCWD_REVISION_C;···730 pcwd_stop();731732 /* Check whether or not the card supports the temperature device */733- get_support();734735 /* Get some extra info from the hardware (in command/debug/diag mode) */736 if (pcwd_private.revision == PCWD_REVISION_A)
···223 pcwd_private.command_mode = 0;224}225226+static inline void pcwd_check_temperature_support(void)227+{228+ if (inb(pcwd_private.io_addr) != 0xF0)229+ pcwd_private.supports_temp = 1;230+}231+232static void pcwd_timer_ping(unsigned long data)233{234 int wdrst_stat;···623 * Init & exit routines624 */625000000626static inline int get_revision(void)627{628 int r = PCWD_REVISION_C;···730 pcwd_stop();731732 /* Check whether or not the card supports the temperature device */733+ pcwd_check_temperature_support();734735 /* Get some extra info from the hardware (in command/debug/diag mode) */736 if (pcwd_private.revision == PCWD_REVISION_A)