⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leds-system3.c

📁 优龙2410linux2.6.8内核源代码
💻 C
字号:
/* * linux/arch/arm/mach-sa1100/leds-system3.c * * Copyright (C) 2001 Stefan Eletzhofer <stefan.eletzhofer@gmx.de> * * Original (leds-footbridge.c) by Russell King * * $Id: leds-system3.c,v 1.1.6.1 2001/12/04 15:19:26 seletz Exp $ * * 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. * * $Log: leds-system3.c,v $ * Revision 1.1.6.1  2001/12/04 15:19:26  seletz * - merged from linux_2_4_13_ac5_rmk2 * * Revision 1.1.4.2  2001/11/19 17:58:53  seletz * - cleanup * * Revision 1.1.4.1  2001/11/16 13:49:54  seletz * - dummy LED support for PT Digital Board * * Revision 1.1.2.1  2001/10/15 16:03:39  seletz * - dummy function * * */#include <linux/init.h>#include <asm/hardware.h>#include <asm/leds.h>#include <asm/system.h>#include "leds.h"#define LED_STATE_ENABLED	1#define LED_STATE_CLAIMED	2static unsigned int led_state;static unsigned int hw_led_state;void system3_leds_event(led_event_t evt){	/* TODO: support LEDs */}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -