aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-30 19:44:03 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-30 18:45:50 +0000
commitf90554ad75f135af164d09e015ca9691c5e2e348 (patch)
tree0ac0a124f33c97a42e57df433720bb811a99a226
parenta0d98a712fbb1f22e347299006e4004bb985eb34 (diff)
omap_dma: fix unbalanced { in commented out code
Fix unbalanced {} in commented out code. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/omap_dma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/omap_dma.c b/hw/omap_dma.c
index 6f5eacacf2..205d01039c 100644
--- a/hw/omap_dma.c
+++ b/hw/omap_dma.c
@@ -588,7 +588,7 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s *dma)
#ifdef MULTI_REQ
/* TODO: should all of this only be done if dma->update, and otherwise
* inside omap_dma_transfer_generic below - check what's faster. */
- if (dma->update) {
+ if (dma->update)
#endif
/* If the channel is element synchronized, deactivate it */
@@ -668,7 +668,9 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s *dma)
/* TODO: if the destination port is IMIF or EMIFF, set the dirty
* bits on it. */
+#ifndef MULTI_REQ
}
+#endif
omap_dma_interrupts_update(s);
}