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

Commit aa5e73a6 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 API to get kernel boot time"

parents 24410dda 4760ce12
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1107,6 +1107,12 @@ void cnss_get_monotonic_boottime(struct timespec *ts)
}
EXPORT_SYMBOL(cnss_get_monotonic_boottime);

void cnss_get_boottime(struct timespec *ts)
{
	ktime_get_ts(ts);
}
EXPORT_SYMBOL(cnss_get_boottime);

int cnss_get_ramdump_mem(unsigned long *address, unsigned long *size)
{
	struct resource *res;
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ extern int cnss_get_fw_files_for_target(struct cnss_fw_files *pfw_files,
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 int cnss_request_bus_bandwidth(int bandwidth);

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