mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
video: rockchip: mpp: Fix compilation warning on ARM
In file included from drivers/video/rockchip/mpp/mpp_iommu.c:12: ./arch/arm/include/asm/dma-iommu.h:27:33: warning: declaration of 'struct bus_type' will not be visible outside of this function [-Wvisibility] arm_iommu_create_mapping(struct bus_type *bus, dma_addr_t base, u64 size); Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: Ieac6a2ab326a62fbb6831643519d55ab532ec3e9
This commit is contained in:
@@ -8,9 +8,6 @@
|
||||
* Ding Wei, leo.ding@rock-chips.com
|
||||
*
|
||||
*/
|
||||
#ifdef CONFIG_ARM_DMA_USE_IOMMU
|
||||
#include <asm/dma-iommu.h>
|
||||
#endif
|
||||
#include <linux/delay.h>
|
||||
#include <linux/dma-buf.h>
|
||||
#include <linux/dma-iommu.h>
|
||||
@@ -21,6 +18,10 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
||||
#ifdef CONFIG_ARM_DMA_USE_IOMMU
|
||||
#include <asm/dma-iommu.h>
|
||||
#endif
|
||||
|
||||
#include "mpp_debug.h"
|
||||
#include "mpp_iommu.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user