Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nel/git-cur/linux-2.6-arm

* '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
  • Loading branch information
Linus Torvalds committed Nov 7, 2011
2 parents 534baf5 + 7a3f8de commit ec773e9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-davinci/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-exynos/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/eseries.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-pxa/eseries.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/include/mach/gpio-pxa.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions drivers/pcmcia/pxa2xx_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions drivers/pcmcia/pxa2xx_cm_x2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ec773e9

Please sign in to comment.