leds.c

来自「优龙2410linux2.6.8内核源代码」· C语言 代码 · 共 33 行

C
33
字号
/* * linux/arch/arm/mach-imx/leds.h * * Copyright (C) 2004 Sascha Hauer <sascha@saschahauer.de> * * * 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 <asm/leds.h>#include <asm/mach-types.h>#include "leds.h"static int __initleds_init(void){	if (machine_is_mx1ads())		leds_event = mx1ads_leds_event;	if (machine_is_scb9328())		leds_event = scb9328_leds_event;		return 0;}__initcall(leds_init);

⌨️ 快捷键说明

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