summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/dma-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-01-26 18:22:54 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-01-26 18:24:50 +0000
commit80c019e737b1301cdcf747dedbdc96c19bf69b7a (patch)
tree81003818118dc3a11bca785fe00ddae98eaf44a1 /firmware/target/arm/imx233/dma-imx233.h
parent5b00e59614f584cc6dc440cc064097a2fb7321f7 (diff)
downloadrockbox-80c019e737b1301cdcf747dedbdc96c19bf69b7a.tar.gz
rockbox-80c019e737b1301cdcf747dedbdc96c19bf69b7a.tar.bz2
rockbox-80c019e737b1301cdcf747dedbdc96c19bf69b7a.zip
imx233: add a missing packed attribute for dma !!
Change-Id: Iada56b34d0517851859e60f064a2e9032c2f0fe2
Diffstat (limited to 'firmware/target/arm/imx233/dma-imx233.h')
-rw-r--r--firmware/target/arm/imx233/dma-imx233.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/dma-imx233.h b/firmware/target/arm/imx233/dma-imx233.h
index a6a0c2a306..a6a957ce3b 100644
--- a/firmware/target/arm/imx233/dma-imx233.h
+++ b/firmware/target/arm/imx233/dma-imx233.h
@@ -125,7 +125,7 @@ struct apb_dma_command_t
uint32_t cmd;
void *buffer;
/* PIO words follow */
-};
+} __attribute__((packed));
#define DMA_INFO_CURCMDADDR (1 << 0)
#define DMA_INFO_NXTCMDADDR (1 << 1)