mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
Merge r7387 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7647 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -708,9 +708,9 @@ struct t10_pi_tuple {
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||
#undef DEFINE_TIMER
|
||||
#define DEFINE_TIMER(_name, _function) \
|
||||
struct timer_list _name = __TIMER_INITIALIZER( \
|
||||
(void (*)(unsigned long))(_function), \
|
||||
(unsigned long)&(_name), 0, 0)
|
||||
struct timer_list _name = TIMER_INITIALIZER( \
|
||||
(void (*)(unsigned long))(_function), 0, \
|
||||
(unsigned long)&(_name))
|
||||
#endif
|
||||
|
||||
/* <linux/types.h> */
|
||||
|
||||
Reference in New Issue
Block a user