diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:11 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:11 +0000 |
commit | 312b15a3c89a66c20e08828512053e85bac0f499 (patch) | |
tree | bbfa60013cc96732f718c9b63d82d32aa18ca9b7 /arch/arm/mach-s3c2440 | |
parent | f39594d4998c1b4e7fb4de3a5d5936f5966499a8 (diff) |
debug-move-led-around.patch
Light an LED in the dark crashing hell of dead resume... the problems come from
Glamo it turns out
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 505ec6359c9..a55fd43ef6b 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -1733,6 +1733,14 @@ static void __init gta02_machine_init(void) enable_irq_wake(GTA02_IRQ_WLAN_GPIO1); } +void DEBUG_LED(void) +{ +// int *p = NULL; + neo1973_gpb_setpin(GTA02_GPIO_AUX_LED, 1); +// printk(KERN_ERR"die %d\n", *p); +} +EXPORT_SYMBOL_GPL(DEBUG_LED); + MACHINE_START(NEO1973_GTA02, "GTA02") .phys_io = S3C2410_PA_UART, .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, |