]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Misc clean-up to sync with upstream patches
authorTony Lindgren <tony@atomide.com>
Tue, 17 Jun 2008 09:26:45 +0000 (12:26 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 17 Jun 2008 09:26:45 +0000 (12:26 +0300)
Based on comments from Russell King.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/control.c
arch/arm/plat-omap/dma.c
include/asm-arm/arch-omap/dma.h

index 19a5f30af8258177a1147cd1893eec3b03382bf9..51f70300996f6cc91c11bd2cdb61a266f9fd46b4 100644 (file)
@@ -49,25 +49,16 @@ u32 omap_ctrl_readl(u16 offset)
 
 void omap_ctrl_writeb(u8 val, u16 offset)
 {
-       pr_debug("omap_ctrl_writeb: writing 0x%0x to 0x%0x\n", val,
-                (__force u32)OMAP_CTRL_REGADDR(offset));
-
        __raw_writeb(val, OMAP_CTRL_REGADDR(offset));
 }
 
 void omap_ctrl_writew(u16 val, u16 offset)
 {
-       pr_debug("omap_ctrl_writew: writing 0x%0x to 0x%0x\n", val,
-                (__force u32)OMAP_CTRL_REGADDR(offset));
-
        __raw_writew(val, OMAP_CTRL_REGADDR(offset));
 }
 
 void omap_ctrl_writel(u32 val, u16 offset)
 {
-       pr_debug("omap_ctrl_writel: writing 0x%0x to 0x%0x\n", val,
-                (__force u32)OMAP_CTRL_REGADDR(offset));
-
        __raw_writel(val, OMAP_CTRL_REGADDR(offset));
 }
 
index 42c03595650c89e29c940e2e2102fc34e04a3dc7..fac8e994f58896ff991feab65ab75601d5ef2f1d 100644 (file)
@@ -126,7 +126,7 @@ static int dma_chan_count;
 
 static spinlock_t dma_chan_lock;
 static struct omap_dma_lch *dma_chan;
-void __iomem *omap_dma_base;
+static void __iomem *omap_dma_base;
 
 static const u8 omap1_dma_irq[OMAP1_LOGICAL_DMA_CH_COUNT] = {
        INT_DMA_CH0_6, INT_DMA_CH1_7, INT_DMA_CH2_8, INT_DMA_CH3,
index 9819f3945b50e2f8b61d8a1dee97ad3dcd60a4bd..f4dcb9587869acd9fb43190415e8ad54c64eba59 100644 (file)
@@ -474,8 +474,8 @@ struct omap_dma_channel_params {
 
 extern void omap_set_dma_priority(int lch, int dst_port, int priority);
 extern int omap_request_dma(int dev_id, const char *dev_name,
-                               void (*callback)(int lch, u16 ch_status,
-                               void *data), void *data, int *dma_ch);
+                       void (*callback)(int lch, u16 ch_status, void *data),
+                       void *data, int *dma_ch);
 extern void omap_enable_dma_irq(int ch, u16 irq_bits);
 extern void omap_disable_dma_irq(int ch, u16 irq_bits);
 extern void omap_free_dma(int ch);