From 8c502c7ad1171975c17da9f67a73076017bc6d1e Mon Sep 17 00:00:00 2001 From: Laurentiu Tudor Date: Tue, 12 Mar 2019 17:57:26 +0200 Subject: [PATCH] fsl_qbman: add dummy functions for probe deferal APIs Add missing definitions for probe deferal APIs for drivers that use them with the SDK version of the qbman drivers. Signed-off-by: Laurentiu Tudor Signed-off-by: Vlad Pelin Acked-by: Madalin Bucur --- include/linux/fsl_qman.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/linux/fsl_qman.h b/include/linux/fsl_qman.h index 56c05fdb9927..e39a17c2b6e5 100644 --- a/include/linux/fsl_qman.h +++ b/include/linux/fsl_qman.h @@ -3893,6 +3893,16 @@ int qman_p_enqueue_orp(struct qman_portal *p, struct qman_fq *fq, int qman_p_enqueue_precommit(struct qman_portal *p, struct qman_fq *fq, const struct qm_fd *fd, u32 flags, qman_cb_precommit cb, void *cb_arg); + +static inline int qman_is_probed(void) { + return 1; +} + + +static inline int qman_portals_probed(void) { + return 1; +} + #ifdef __cplusplus } #endif