qcacmn: Remove os_timer_t
os_timer_t is a legacy wrapper around the kernel's timer_list type, and is incorrectly used directly with qdf_timer APIs. Remove os_timer_t, replacing instances with qdf_timer_t instead. Change-Id: I410b7fafad18be01141008b6220fbe34ab07601e CRs-Fixed: 2388575
Este cometimento está contido em:

cometido por
nshrivas

ascendente
f491953edb
cometimento
340c627dcf
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -43,8 +43,6 @@
|
||||
#define be32toh(_x) be32_to_cpu(_x)
|
||||
#define htobe32(_x) cpu_to_be32(_x)
|
||||
|
||||
typedef struct timer_list os_timer_t;
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
/* Undo the one provided by the kernel to debug spin locks */
|
||||
#undef spin_lock
|
||||
@@ -132,7 +130,7 @@ typedef struct {
|
||||
#ifdef USE_SOFTINTR
|
||||
void *_task;
|
||||
#else
|
||||
os_timer_t _timer;
|
||||
qdf_timer_t _timer;
|
||||
#endif
|
||||
os_mesg_handler_t handler;
|
||||
void *ctx;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador