首页
科技
登录
6mi
u
盘
搜
搜 索
科技
Linux的LED子系统分析
Linux的LED子系统分析
科技
2026-02-25
15
Linux的LED子系统分析
1、leds目录的创建
led子系统的入口模块为drivers\leds\led-class.c
// drivers\leds\led-class.c
static
int __init
leds_init
(
void
)
{
leds_class
=
class_create
(
THIS_MODULE
,
"leds"
)
;
if
(
IS_ERR
转载请注明原文地址:https://blackberry.8miu.com/read-44600.html
最新回复
(
0
)