From 312b15a3c89a66c20e08828512053e85bac0f499 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:11:11 +0000 Subject: 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 --- arch/arm/mach-s3c2440/mach-gta02.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/mach-s3c2440') 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, -- cgit v1.2.3