Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f0e8654 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss: Add APIs to initialize work queue"

parents 8ec6f1e4 e21ac63f
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1113,6 +1113,18 @@ void cnss_get_boottime(struct timespec *ts)
}
EXPORT_SYMBOL(cnss_get_boottime);

void cnss_init_work(struct work_struct *work, work_func_t func)
{
	INIT_WORK(work, func);
}
EXPORT_SYMBOL(cnss_init_work);

void cnss_init_delayed_work(struct delayed_work *work, work_func_t func)
{
	INIT_DELAYED_WORK(work, func);
}
EXPORT_SYMBOL(cnss_init_delayed_work);

int cnss_get_ramdump_mem(unsigned long *address, unsigned long *size)
{
	struct resource *res;
+2 −0
Original line number Diff line number Diff line
@@ -87,6 +87,8 @@ extern void cnss_flush_work(void *work);
extern void cnss_flush_delayed_work(void *dwork);
extern void cnss_get_monotonic_boottime(struct timespec *ts);
extern void cnss_get_boottime(struct timespec *ts);
extern void cnss_init_work(struct work_struct *work, work_func_t func);
extern void cnss_init_delayed_work(struct delayed_work *work, work_func_t func);
extern int cnss_request_bus_bandwidth(int bandwidth);

extern void cnss_pm_wake_lock_init(struct wakeup_source *ws, const char *name);