leds.c
来自「linux2.6.16版本」· C语言 代码 · 共 32 行
C
32 行
/* * 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; } return 0;}__initcall(leds_init);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?