aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/leds-mx1ads.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-04-01 12:41:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-05-07 16:15:51 +0200
commit1341d34ffc296f98dc84876f35f3151525dc02a2 (patch)
treed120e94a2f189ebecfc974db6f0d56bc1963121e /arch/arm/mach-imx/leds-mx1ads.c
parent8c8fdbc9bd9718b21146065de61c0cafdff11ecb (diff)
downloadkernel_samsung_smdk4412-1341d34ffc296f98dc84876f35f3151525dc02a2.zip
kernel_samsung_smdk4412-1341d34ffc296f98dc84876f35f3151525dc02a2.tar.gz
kernel_samsung_smdk4412-1341d34ffc296f98dc84876f35f3151525dc02a2.tar.bz2
[ARM] remove arch-imx
arch-imx is superseeded by the MXC architecture support. This patch removes arch/arm/mach-imx from the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/leds-mx1ads.c')
-rw-r--r--arch/arm/mach-imx/leds-mx1ads.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/arch/arm/mach-imx/leds-mx1ads.c b/arch/arm/mach-imx/leds-mx1ads.c
deleted file mode 100644
index 1d48f27..0000000
--- a/arch/arm/mach-imx/leds-mx1ads.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * linux/arch/arm/mach-imx/leds-mx1ads.c
- *
- * Copyright (c) 2004 Sascha Hauer <sascha@saschahauer.de>
- *
- * Original (leds-footbridge.c) by Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- */
-
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/io.h>
-#include <mach/hardware.h>
-#include <asm/system.h>
-#include <asm/leds.h>
-#include "leds.h"
-
-/*
- * The MX1ADS Board has only one usable LED,
- * so select only the timer led or the
- * cpu usage led
- */
-void
-mx1ads_leds_event(led_event_t ledevt)
-{
- unsigned long flags;
-
- local_irq_save(flags);
-
- switch (ledevt) {
-#ifdef CONFIG_LEDS_CPU
- case led_idle_start:
- DR(0) &= ~(1<<2);
- break;
-
- case led_idle_end:
- DR(0) |= 1<<2;
- break;
-#endif
-
-#ifdef CONFIG_LEDS_TIMER
- case led_timer:
- DR(0) ^= 1<<2;
-#endif
- default:
- break;
- }
- local_irq_restore(flags);
-}