• Peng Ma's avatar
    dmaengine: fsl-dpaa2-qdma: export the symbols · 53596dfa
    Peng Ma authored
    The symbols were not exported leading to error:
    
    WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-dpaa2-qdma/dpdmai.o
    see include/linux/module.h for more information
    GZIP    arch/arm64/boot/Image.gz
    ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_set_rx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_get_tx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_get_rx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_get_attributes" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_open" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_close" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_disable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
    WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL
    make[2]: *** [__modpost] Error 1
    make[1]: *** [modules] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [sub-make] Error 2
    
    So export it.
    Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
    Reported-by: default avatarAnders Roxell <anders.roxell@linaro.org>
    Link: https://lore.kernel.org/r/20191023045617.22764-1-peng.ma@nxp.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
    53596dfa
dpdmai.c 10.4 KB