Sync with mainline: Clean up a bit
authorTony Lindgren <tony@atomide.com>
Thu, 7 Dec 2006 03:02:55 +0000 (19:02 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 7 Dec 2006 03:02:55 +0000 (19:02 -0800)
Clean up a bit

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/kernel/vmlinux.lds.S
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap2/gpmc.c
include/asm-arm/arch-omap/board-2430sdp.h
include/asm-arm/dma-mapping.h

index 675ae48..a8fa75e 100644 (file)
@@ -170,3 +170,11 @@ SECTIONS
        .stab.indexstr 0 : { *(.stab.indexstr) }
        .comment 0 : { *(.comment) }
 }
+
+/*
+ * These must never be empty
+ * If you have to comment these two assert statements out, your
+ * binutils is too old (for other reasons as well)
+ */
+ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support")
+ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined")
index 636a5af..2743d63 100644 (file)
@@ -8,7 +8,7 @@
 * Original version : Vladimir Ananiev (Vovan888-at-gmail com)
 *
 * Maintainters : Vladimir Ananiev (aka Vovan888), Sergge
-*                oslik.ru
+*              oslik.ru
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
index 26ea9ba..3c5ff95 100644 (file)
@@ -130,7 +130,7 @@ static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit,
        if (ticks >= 1 << nr_bits) {
 #ifdef DEBUG
                printk(KERN_INFO "GPMC CS%d: %-10s* %3d ns, %3d ticks >= %d\n",
-                      cs, name, time, ticks, 1 << nr_bits);
+                               cs, name, time, ticks, 1 << nr_bits);
 #endif
                return -1;
        }
@@ -141,7 +141,7 @@ static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit,
        printk(KERN_INFO
                "GPMC CS%d: %-10s: %3d ticks, %3lu ns (was %3i ticks) %3d ns\n",
               cs, name, ticks, gpmc_get_fclk_period() * ticks / 1000,
-              (l >> st_bit) & mask, time);
+                       (l >> st_bit) & mask, time);
 #endif
        l &= ~(mask << st_bit);
        l |= ticks << st_bit;
@@ -211,7 +211,7 @@ int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t)
        if (l & (GPMC_CONFIG1_READTYPE_SYNC | GPMC_CONFIG1_WRITETYPE_SYNC)) {
 #ifdef DEBUG
                printk(KERN_INFO "GPMC CS%d CLK period is %lu ns (div %d)\n",
-                      cs, (div * gpmc_get_fclk_period()) / 1000, div);
+                               cs, (div * gpmc_get_fclk_period()) / 1000, div);
 #endif
                l &= ~0x03;
                l |= (div - 1);
index 3ab4aa4..6749ad7 100644 (file)
@@ -4,7 +4,7 @@
  * Hardware definitions for TI OMAP2430 SDP board.
  *
  * Based on board-h4.h by Dirk Behme <dirk.behme@de.bosch.com>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
  * Free Software Foundation; either version 2 of the License, or (at your
@@ -30,7 +30,7 @@
 #define __ASM_ARCH_OMAP_2430SDP_H
 
 /* Placeholder for 2430SDP specific defines */
-#define OMAP24XX_ETHR_START             0x08000300
+#define OMAP24XX_ETHR_START             0x08000300
 #define OMAP24XX_ETHR_GPIO_IRQ         149
 #define SDP2430_CS0_BASE               0x04000000
 
index 3fc4b35..6666177 100644 (file)
@@ -4,7 +4,6 @@
 #ifdef __KERNEL__
 
 #include <linux/mm.h> /* need struct page */
-#include <linux/device.h>
 
 #include <asm/scatterlist.h>