diff --git a/hif/src/dispatcher/dummy.c b/hif/src/dispatcher/dummy.c index 6c2ebd7e75..b83bf9aa06 100644 --- a/hif/src/dispatcher/dummy.c +++ b/hif/src/dispatcher/dummy.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -355,3 +355,12 @@ int hif_dummy_bus_reset_resume(struct hif_softc *hif_ctx) { return 0; } + +int hif_dummy_map_ce_to_irq(struct hif_softc *scn, int ce_id) +{ + HIF_ERROR("%s: hif_map_ce_to_irq is not implemented on this platform", + __func__); + QDF_BUG(0); + return -(1); +} + diff --git a/hif/src/dispatcher/dummy.h b/hif/src/dispatcher/dummy.h index 6d8a2c756c..0bafe8a391 100644 --- a/hif/src/dispatcher/dummy.h +++ b/hif/src/dispatcher/dummy.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -62,4 +62,5 @@ void hif_dummy_clear_stats(struct hif_softc *hif_ctx); void hif_dummy_set_bundle_mode(struct hif_softc *hif_ctx, bool enabled, int rx_bundle_cnt); int hif_dummy_bus_reset_resume(struct hif_softc *hif_ctx); +int hif_dummy_map_ce_to_irq(struct hif_softc *scn, int ce_id); diff --git a/hif/src/dispatcher/multibus.c b/hif/src/dispatcher/multibus.c index cc667b5bed..4a8f7e7705 100644 --- a/hif/src/dispatcher/multibus.c +++ b/hif/src/dispatcher/multibus.c @@ -66,6 +66,7 @@ static void hif_intialize_default_ops(struct hif_softc *hif_sc) bus_ops->hif_bus_late_resume = &hif_dummy_bus_resume; bus_ops->hif_grp_irq_disable = &hif_dummy_grp_irq_disable; bus_ops->hif_grp_irq_enable = &hif_dummy_grp_irq_enable; + bus_ops->hif_map_ce_to_irq = &hif_dummy_map_ce_to_irq; } #define NUM_OPS (sizeof(struct hif_bus_ops) / sizeof(void *))