led-core.c

来自「linux 内核源代码」· C语言 代码 · 共 26 行

C
26
字号
/* * LED Class Core * * Copyright 2005-2006 Openedhand Ltd. * * Author: Richard Purdie <rpurdie@openedhand.com> * * 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/list.h>#include <linux/module.h>#include <linux/rwsem.h>#include <linux/leds.h>#include "leds.h"DECLARE_RWSEM(leds_list_lock);LIST_HEAD(leds_list);EXPORT_SYMBOL_GPL(leds_list);EXPORT_SYMBOL_GPL(leds_list_lock);

⌨️ 快捷键说明

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