]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/ixp4xx: add a missing include of dma-map-ops.h
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Oct 2020 11:27:00 +0000 (13:27 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 Oct 2020 11:28:22 +0000 (13:28 +0200)
commit5225b89e5b7489457c3a22322787755a208a525e
treece0c1847fb1a5a213eae71e00a5a51352e958450
parent08eed5b897a15fd99085b8f82804b833dbf764fb
ARM/ixp4xx: add a missing include of dma-map-ops.h

Compilation of ixp4xx_defconfig fails with:

arch/arm/mach-ixp4xx/common.c: In function 'ixp4xx_platform_notify_remove':
arch/arm/mach-ixp4xx/common.c:291:3: error: implicit declaration of function 'dmabounce_unregister_dev' [-Werror=implicit-function-declaration]
  291 |   dmabounce_unregister_dev(dev);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/common.c: In function 'ixp4xx_platform_notify':
arch/arm/mach-ixp4xx/common.c:307:3: error: implicit declaration of function 'dmabounce_register_dev' [-Werror=implicit-function-declaration]
   307 |   dmabounce_register_dev(dev, 2048, 4096, ixp4xx_needs_bounce);

Add a missing include that is needed because of the header reshuffle.

Fixes: f855a67521b7 ("dma-mapping: split <linux/dma-mapping.h>")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm/mach-ixp4xx/common.c