dma-contiguous.h 771 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2013, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef _ASM_DMA_CONTIGUOUS_H
  14. #define _ASM_DMA_CONTIGUOUS_H
  15. #ifdef __KERNEL__
  16. #ifdef CONFIG_DMA_CMA
  17. #include <linux/types.h>
  18. static inline void
  19. dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { }
  20. #endif
  21. #endif
  22. #endif