#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/tty.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/errno.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/setup.h>
#include <mach/irqs.h>
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>
#include <asm/mach/map.h>
#include <asm/hardware/sa1111.h>
#include <asm/mach/serial_sa1100.h>
#include <mach/badge4.h>
#include "generic.h"
Go to the source code of this file.
__setup |
( |
"five_v_on" |
, |
|
|
five_v_on_setup |
|
|
) |
| |
arch_initcall |
( |
badge4_init |
| ) |
|
void badge4_set_5V |
( |
unsigned |
subsystem, |
|
|
int |
on |
|
) |
| |
Initial value:= {
{
.name = "badge4:red",
.default_trigger = "heartbeat",
.gpio = 7,
},
{
.name = "badge4:green",
.default_trigger = "cpu0",
.gpio = 9,
},
}
Definition at line 82 of file badge4.c.