.address = NULL,
};
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38)
-spinlock_t ec_probe_spinlock; // protects 'ec_probe_info'
-#else /* LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38) */
-spinlock_t ec_probe_spinlock = SPIN_LOCK_UNLOCKED;
-#endif /* LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38) */
-
ec_state_t GetECState(void) { return ec_info.ec_state; };
void reset_ec_info_nolock(void)
int ret;
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38)
spin_lock_init(&ec_spinlock);
- spin_lock_init(&ec_probe_spinlock);
#endif /* LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38) */
ret = init_helper();
unsigned long jp_handler,
unsigned long rp_handler);
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38)
-extern spinlock_t ec_probe_spinlock;
-#endif /* LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 38) */
-
#endif // !defined(__PROBES_MANAGER_H__)