浏览代码

qcacmn: Add pointer to platform dev in qdf_dev

Add pointer to platform device in qdf_dev.
This requirement is needed for enabling in Legacy interrupts
in QCN9224.

Change-Id: I99a0e1ec447315a342c9e22e3f2673f5af8c5893
Nandha Kishore Easwaran 3 年之前
父节点
当前提交
18d2ccf267
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      qdf/linux/src/i_qdf_types.h

+ 3 - 1
qdf/linux/src/i_qdf_types.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021,2022 Qualcomm Innovation Center, Inc. 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
@@ -243,6 +243,7 @@ enum qdf_bus_type {
  * @drv: Pointer to driver
  * @drv_hdl: Pointer to driver handle
  * @drv_name: Pointer to driver name
+ * @cnss_pdev: Pointer to platform device
  * @irq: IRQ
  * @dev: Pointer to device
  * @res: QDF resource
@@ -257,6 +258,7 @@ struct __qdf_device {
 	void *drv;
 	void *drv_hdl;
 	char *drv_name;
+	void *cnss_pdev;
 	int irq;
 	struct device *dev;
 	__qdf_resource_t res;