From 8e73708b0ead10187f0760a687add14145df35a9 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Wed, 17 Feb 2016 12:20:28 -0800 Subject: [PATCH] qcacmn: Fix compilation error caused by hif_disable_power_management hif_disable_power_management is only defiend for PCI devices which is causing compilation error for SNOC devices. Define empty definition of hif_disable_power_management for SNOC devices. Change-Id: I4da5e2346119626fd6478d3eb835bcb1ba9dd663 CRs-Fixed: 978810 --- hif/src/snoc/if_snoc.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hif/src/snoc/if_snoc.c b/hif/src/snoc/if_snoc.c index 8517d9fbb574..09efe7aaaae1 100644 --- a/hif/src/snoc/if_snoc.c +++ b/hif/src/snoc/if_snoc.c @@ -290,8 +290,17 @@ void hif_snoc_irq_disable(struct hif_softc *scn, int ce_id) * hif_enable_power_management(): enable power management * @hif_ctx: hif context * - * Dummy place holder implementation for SNOC */ void hif_enable_power_management(void *hif_ctx) { } + +/** + * hif_disable_power_management(): disable power management + * @hif_ctx: hif context + * + * Dummy place holder implementation for SNOC + */ +void hif_disable_power_management(void *hif_ctx) +{ +}