Skip to content
Snippets Groups Projects
Commit 4525effc authored by Li Yang's avatar Li Yang Committed by BJ DevOps Team
Browse files

staging: fsl_qbman: include new header file linux/dma-mapping.h


New headfile introduced from:
0a0f0d8b ("dma-mapping: split <linux/dma-mapping.h>")

Including it to fix the build issue below:

drivers/staging/fsl_qbman/qman_high.c: In function ‘qman_create_portal’:
drivers/staging/fsl_qbman/qman_high.c:687:2: error: implicit declaration of function ‘arch_setup_dma_ops’; did you mean ‘arch_setup_new_exec’? [-Werror=implicit-function-declaration]
  arch_setup_dma_ops(&portal->pdev->dev, 0, 0, NULL, true);
  ^~~~~~~~~~~~~~~~~~
  arch_setup_new_exec

Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent 5c40e746
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@
*/
#include "qman_low.h"
#include <linux/dma-map-ops.h>
/* Compilation constants */
#define DQRR_MAXFILL 15
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment