python: Fix incorrect header in the DmaDevice wrapper
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 19 Dec 2016 16:25:38 +0000 (16:25 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 19 Dec 2016 16:25:38 +0000 (16:25 +0000)
The header declared in the DmaDevice wrapper doesn't actually contain
the DmaDevice class. This can potentially lead to incorrect type cases
in Swig.

Change-Id: If2266d4180d1d6fd13359a81067068854c5e96fe
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
src/dev/Device.py

index b274b152cc504c2d5331432ce67029fd380d1378..d51d7bd8d680d42bb98368a629ad3cb7126bc48d 100644 (file)
@@ -46,7 +46,7 @@ class BasicPioDevice(PioDevice):
 
 class DmaDevice(PioDevice):
     type = 'DmaDevice'
-    cxx_header = "dev/io_device.hh"
+    cxx_header = "dev/dma_device.hh"
     abstract = True
     dma = MasterPort("DMA port")