Skip to content
Permalink
Browse files

vchiq: hack: Add include depecated dma include file

  • Loading branch information
popcornmix committed Sep 28, 2015
1 parent a3143df commit 2dea8bdd0ccae8253d016eab9e5c1e457d25e83f
Showing with 6 additions and 0 deletions.
  1. +6 −0 drivers/misc/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
@@ -45,6 +45,12 @@
#include <asm/pgtable.h>
#include <soc/bcm2835/raspberrypi-firmware.h>

#define dmac_map_area __glue(_CACHE,_dma_map_area)
#define dmac_unmap_area __glue(_CACHE,_dma_unmap_area)

extern void dmac_map_area(const void *, size_t, int);
extern void dmac_unmap_area(const void *, size_t, int);

#define TOTAL_SLOTS (VCHIQ_SLOT_ZERO_SLOTS + 2 * 32)

#define VCHIQ_ARM_ADDRESS(x) ((void *)((char *)x + g_virt_to_bus_offset))

0 comments on commit 2dea8bd

Please sign in to comment.
You can’t perform that action at this time.