From e9f0e9c77fd7d1c705605a1c9851bd2697a1f7b6 Mon Sep 17 00:00:00 2001 From: Sarada Prasanna Garnayak Date: Mon, 16 Oct 2017 17:11:17 +0530 Subject: [PATCH] qcacmn: add device pointer in pld snoc API Add device pointer in all pld snoc API to support for numerous WLAN module. Change-Id: I2e3a296d9b40f14633e0f6e1ed6392536d854552 --- hif/src/snoc/if_snoc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hif/src/snoc/if_snoc.c b/hif/src/snoc/if_snoc.c index 0502f8aa4920..7055f049b4eb 100644 --- a/hif/src/snoc/if_snoc.c +++ b/hif/src/snoc/if_snoc.c @@ -40,7 +40,6 @@ #include "ce_api.h" #include "ce_internal.h" #include "snoc_api.h" -#include #include "pld_common.h" #include "qdf_util.h" #ifdef IPA_OFFLOAD @@ -191,7 +190,7 @@ int hif_snoc_bus_configure(struct hif_softc *scn) if (ret) goto unconfig_ce; - scn->wake_irq = icnss_get_irq(wake_ce_id); + scn->wake_irq = pld_get_irq(scn->qdf_dev->dev, wake_ce_id); HIF_INFO(FL("expecting wake from ce %d, irq %d"), wake_ce_id, scn->wake_irq); @@ -462,7 +461,7 @@ int hif_snoc_bus_suspend_noirq(struct hif_softc *scn) int hif_snoc_map_ce_to_irq(struct hif_softc *scn, int ce_id) { - return icnss_get_irq(ce_id); + return pld_get_irq(scn->qdf_dev->dev, ce_id); } /**