qcacmn: Replace void * tgt_if_handle with abstract type
Replace void * tgt_if_handle of objmgr psoc/pdev with abstract type handles provided by target interface Change-Id: I9e0ae991776daa0c25c4ad7b4e4dc022441318a3 CRs-Fixed: 2482708
此提交包含在:
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright (c) 2016-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
|
||||
* above copyright notice and this permission notice appear in all
|
||||
* copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This file contains the structure definitions of target interface
|
||||
* used for the abstraction across various layers.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_IF_PUB_H_
|
||||
#define _TARGET_IF_PUB_H_
|
||||
|
||||
/**
|
||||
* typedef target_pdev_info_t - Opaque definition of target pdev
|
||||
* information structure
|
||||
*/
|
||||
struct target_pdev_info;
|
||||
typedef struct target_pdev_info target_pdev_info_t;
|
||||
|
||||
/**
|
||||
* typedef target_psoc_info_t - Opaque definition of target psoc
|
||||
* information structure
|
||||
*/
|
||||
struct target_psoc_info;
|
||||
typedef struct target_psoc_info target_psoc_info_t;
|
||||
#endif /* _TARGET_IF_PUB_H_ */
|
新增問題並參考
封鎖使用者