Skip to content
  • Christoph Hellwig's avatar
    2a410d09
    ARM/ixp4xx: add a missing include of dma-map-ops.h · 2a410d09
    Christoph Hellwig authored
    
    
    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: 0a0f0d8b ("dma-mapping: split <linux/dma-mapping.h>")
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    2a410d09
    ARM/ixp4xx: add a missing include of dma-map-ops.h
    Christoph Hellwig authored
    
    
    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: 0a0f0d8b ("dma-mapping: split <linux/dma-mapping.h>")
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Loading