]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Merge branch 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 00:58:33 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 00:58:33 +0000 (16:58 -0800)
* 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
  ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver
  ARM: PXA: fix gpio-pxa.h build errors
  ARM: 7142/1: davinci: mark GPIO implementation complex
  ARM: 7134/1: Revert "EXYNOS4: Fix routing timer interrupt to offline CPU"
  ARM: PXA: eseries: fix eseries_register_clks section mismatch warning
  ARM: PXA: fix lubbock PCMCIA driver build error

arch/arm/mach-davinci/include/mach/gpio.h
arch/arm/mach-exynos/platsmp.c
arch/arm/mach-pxa/eseries.c
arch/arm/mach-pxa/eseries.h
arch/arm/mach-pxa/include/mach/gpio-pxa.h
drivers/pcmcia/pxa2xx_base.c
drivers/pcmcia/pxa2xx_cm_x2xx.c

index fbaae4772b91c6237b2a1499b28af7a79eb2de19..960e9de47e1e7549d30886b09fd4dbcb1c7991af 100644 (file)
@@ -15,6 +15,8 @@
 
 #include <asm-generic/gpio.h>
 
+#define __ARM_GPIOLIB_COMPLEX
+
 /* The inline versions use the static inlines in the driver header */
 #include "gpio-davinci.h"
 
index 05595407e9ffd688b516c24387e11c09186bf912..69ffb2fb38755c795a541903e0a4071237be71fa 100644 (file)
@@ -110,8 +110,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
         */
        spin_lock(&boot_lock);
        spin_unlock(&boot_lock);
-
-       set_cpu_online(cpu, true);
 }
 
 int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
index 8e697dd8accdf0f1898f60d65db7a2396629ef30..d82b7aa3c096eaf09f6b99d83953efad07bb07b4 100644 (file)
@@ -144,7 +144,7 @@ static struct clk_lookup eseries_clkregs[] = {
        INIT_CLKREG(&tmio_dummy_clk, NULL, "CLK_CK32K"),
 };
 
-void eseries_register_clks(void)
+static void __init eseries_register_clks(void)
 {
        clkdev_add_table(eseries_clkregs, ARRAY_SIZE(eseries_clkregs));
 }
index be921965e91ae6c4c27c52bbd2abc8f98db89bff..b96949dd5adb30fb1592d23ccbdbdcc01d2cc888 100644 (file)
@@ -11,5 +11,4 @@ extern int eseries_tmio_resume(struct platform_device *dev);
 extern void eseries_get_tmio_gpios(void);
 extern struct resource eseries_tmio_resources[];
 extern struct platform_device e300_tc6387xb_device;
-extern void eseries_register_clks(void);
 
index 576868f8b8c547c68b4c6196402382afcd082ae0..41b4c93a96c2f56152f5cbd2cb6f160696273fed 100644 (file)
@@ -25,7 +25,7 @@
 #define GPIO_REGS_VIRT io_p2v(0x40E00000)
 
 #define BANK_OFF(n)    (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2))
-#define GPIO_REG(x)    (GPIO_REGS_VIRT + (x))
+#define GPIO_REG(x)    (*(volatile u32 *)(GPIO_REGS_VIRT + (x)))
 
 /* GPIO Pin Level Registers */
 #define GPLR0          GPIO_REG(BANK_OFF(0) + 0x00)
index 2c540542b5af7fb183a57f8ea66b230649c16c2e..a87e2728b2c3a19cd50df8b6ae19de643296cceb 100644 (file)
@@ -231,6 +231,7 @@ void pxa2xx_configure_sockets(struct device *dev)
 
        __raw_writel(mecr, MECR);
 }
+EXPORT_SYMBOL(pxa2xx_configure_sockets);
 
 static const char *skt_names[] = {
        "PCMCIA socket 0",
index 4f09506ad8d49398d03918227303dda202b674fe..6e7dcfd22ede8c5696cb68b80528bb94ddf9b2f1 100644 (file)
@@ -12,9 +12,8 @@
 
 #include <linux/module.h>
 
-#include <asm/system.h>
 #include <asm/mach-types.h>
-#include <mach/system.h>
+#include <mach/hardware.h>
 
 int cmx255_pcmcia_init(void);
 int cmx270_pcmcia_init(void);