2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-11 15:14:03 +08:00
linux-next/drivers/soc/fsl/qbman
Paul Gortmaker 4512c7bccb soc/qbman: Fix implicit header dependency now causing build fails
In commit 461a6946b1 ("iommu: Remove pci.h include from
trace/events/iommu.h") that header shuffle uncovered an implicit
include in this driver, manifesting as:

    CC      drivers/soc/fsl/qbman/qman_portal.o
    drivers/soc/fsl/qbman/qman_portal.c: In function 'qman_portal_probe':
    drivers/soc/fsl/qbman/qman_portal.c:299:2: error: implicit declaration of function 'dma_set_mask'
    drivers/soc/fsl/qbman/qman_portal.c:299:2: error: implicit declaration of function 'DMA_BIT_MASK'
        if (dma_set_mask(dev, DMA_BIT_MASK(40))) {
        ^

on the corenet32_smp_defconfig (and 64 bit respectively.)  The above
commit was singled out via git bisect.

The header it was implictly relying on getting was dma-mapping.h - so
we explicitly add it here.

Fixes: 461a6946b1 ("iommu: Remove pci.h include from trace/events/iommu.h")
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Scott Wood <oss@buserror.net>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2017-05-03 10:39:45 +02:00
..
bman_ccsr.c soc/fsl/bman: Use resource_size instead of computation 2016-12-04 19:54:40 -06:00
bman_portal.c powerpc updates for 4.10 2016-12-16 09:26:42 -08:00
bman_priv.h
bman_test_api.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test.h soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman.c soc/qbman: Handle endianness of qm/bm_in/out() 2016-11-23 01:23:48 -06:00
dpaa_sys.h sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
Kconfig soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
Makefile soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
qman_ccsr.c soc/qman: Check ioremap return value 2016-11-23 01:23:38 -06:00
qman_portal.c soc/qbman: Fix implicit header dependency now causing build fails 2017-05-03 10:39:45 +02:00
qman_priv.h soc/qman: Handle endianness of h/w descriptors 2016-11-23 21:01:25 -06:00
qman_test_api.c soc/qman: Handle endianness of h/w descriptors 2016-11-23 21:01:25 -06:00
qman_test_stash.c soc/fsl/qman: test: use DEFINE_SPINLOCK() 2016-12-09 23:08:52 -06:00
qman_test.c soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
qman_test.h soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
qman.c soc/qman: Handle endianness of h/w descriptors 2016-11-23 21:01:25 -06:00