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 <laurentiu.tudor@nxp.com>
Signed-off-by: Vlad Pelin <vlad.pelin@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
This commit is contained in:
Laurentiu Tudor 2019-03-12 17:57:26 +02:00 committed by Vlad Pelin
parent 5d677f4ef6
commit 8c502c7ad1
1 changed files with 10 additions and 0 deletions

View File

@ -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