Fix broken DECLARE_TASKLET() macro after r347852.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2019-09-11 07:53:49 +00:00
parent 96c81c97e4
commit 6575da5eef

View file

@ -197,8 +197,8 @@ struct tasklet_struct {
unsigned long data;
};
#define DECLARE_TASKLET(name, func, data) \
struct tasklet_struct name = { { NULL, NULL }, func, ATOMIC_INIT(0), data }
#define DECLARE_TASKLET(_name, _func, _data) \
struct tasklet_struct _name = { .func = (_func), .data = (_data) }
#define tasklet_hi_schedule(t) tasklet_schedule(t)