Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] 5255/1: Update jornada ssp to remove build errors/warnings
[ARM] omap: back out 'internal_clock' support
[ARM] 5249/1: davinci: remove redundant check in davinci_psc_config()

+13 -24
-3
arch/arm/mach-davinci/psc.c
··· 70 70 { 71 71 u32 epcpr, ptcmd, ptstat, pdstat, pdctl1, mdstat, mdctl, mdstat_mask; 72 72 73 - if (id < 0) 74 - return; 75 - 76 73 mdctl = davinci_readl(DAVINCI_PWR_SLEEP_CNTRL_BASE + MDCTL + 4 * id); 77 74 if (enable) 78 75 mdctl |= 0x00000003; /* Enable Module */
+8 -3
arch/arm/mach-sa1100/include/mach/jornada720.h
··· 1 1 /* 2 2 * arch/arm/mach-sa1100/include/mach/jornada720.h 3 3 * 4 - * This file contains SSP/MCU communication definitions for HP Jornada 710/720/728 4 + * SSP/MCU communication definitions for HP Jornada 710/720/728 5 5 * 6 - * Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> 7 - * Copyright (C) 2000 John Ankcorn <jca@lcs.mit.edu> 6 + * Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> 7 + * Copyright 2000 John Ankcorn <jca@lcs.mit.edu> 8 8 * 9 9 * This program is free software; you can redistribute it and/or modify 10 10 * it under the terms of the GNU General Public License version 2 as ··· 25 25 #define PWMOFF 0xDF 26 26 #define TXDUMMY 0x11 27 27 #define ERRORCODE 0x00 28 + 29 + extern void jornada_ssp_start(void); 30 + extern void jornada_ssp_end(void); 31 + extern int jornada_ssp_inout(u8 byte); 32 + extern int jornada_ssp_byte(u8 byte);
+5 -5
arch/arm/mach-sa1100/jornada720_ssp.c
··· 21 21 #include <linux/slab.h> 22 22 23 23 #include <mach/hardware.h> 24 - #include <asm/hardware/ssp.h> 25 24 #include <mach/jornada720.h> 25 + #include <asm/hardware/ssp.h> 26 26 27 27 static DEFINE_SPINLOCK(jornada_ssp_lock); 28 28 static unsigned long jornada_ssp_flags; ··· 109 109 * jornada_ssp_start - enable mcu 110 110 * 111 111 */ 112 - int jornada_ssp_start() 112 + void jornada_ssp_start(void) 113 113 { 114 114 spin_lock_irqsave(&jornada_ssp_lock, jornada_ssp_flags); 115 115 GPCR = GPIO_GPIO25; 116 116 udelay(50); 117 - return 0; 117 + return; 118 118 }; 119 119 EXPORT_SYMBOL(jornada_ssp_start); 120 120 ··· 122 122 * jornada_ssp_end - disable mcu and turn off lock 123 123 * 124 124 */ 125 - int jornada_ssp_end() 125 + void jornada_ssp_end(void) 126 126 { 127 127 GPSR = GPIO_GPIO25; 128 128 spin_unlock_irqrestore(&jornada_ssp_lock, jornada_ssp_flags); 129 - return 0; 129 + return; 130 130 }; 131 131 EXPORT_SYMBOL(jornada_ssp_end); 132 132
-13
arch/arm/plat-omap/devices.c
··· 316 316 omap_cfg_reg(MMC_DAT3); 317 317 } 318 318 } 319 - #if defined(CONFIG_ARCH_OMAP2420) 320 - if (mmc_conf->mmc[0].internal_clock) { 321 - /* 322 - * Use internal loop-back in MMC/SDIO 323 - * Module Input Clock selection 324 - */ 325 - if (cpu_is_omap24xx()) { 326 - u32 v = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); 327 - v |= (1 << 24); /* not used in 243x */ 328 - omap_ctrl_writel(v, OMAP2_CONTROL_DEVCONF0); 329 - } 330 - } 331 - #endif 332 319 } 333 320 334 321 #ifdef CONFIG_ARCH_OMAP16XX