]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-sa1100/dma.c
[ARM] 5336/1: Formatting/Whitespace cleanups in mach-sa1100
[karo-tx-linux.git] / arch / arm / mach-sa1100 / dma.c
index 65d96eec9e600ce361bb8d236b549602c77fe0d7..95f9c5a6d6d5dda9a237272af11bf633d340f4be 100644 (file)
@@ -18,8 +18,8 @@
 
 #include <asm/system.h>
 #include <asm/irq.h>
-#include <asm/arch/hardware.h>
-#include <asm/dma.h>
+#include <mach/hardware.h>
+#include <mach/dma.h>
 
 
 #undef DEBUG
@@ -76,7 +76,7 @@ static irqreturn_t dma_irq_handler(int irq, void *dev_id)
  *     address of the hardware registers for that channel as the channel
  *     identifier. This identifier is written to the location pointed by
  *     @dma_regs. The list of possible values for @device are listed into
- *     linux/include/asm-arm/arch-sa1100/dma.h as a dma_device_t enum.
+ *     arch/arm/mach-sa1100/include/mach/dma.h as a dma_device_t enum.
  *
  *     Note that reading from a port and writing to the same port are
  *     actually considered as two different streams requiring separate
@@ -113,10 +113,10 @@ int sa1100_request_dma (dma_device_t device, const char *device_id,
                }
        }
        if (!err) {
-              if (dma)
-                      dma->device = device;
-              else
-                      err = -ENOSR;
+               if (dma)
+                       dma->device = device;
+               else
+                       err = -ENOSR;
        }
        spin_unlock(&dma_list_lock);
        if (err)