驱动加载的时候出现
---------------------------------[ cut here ]------------------------------------
WARNING: at fs/sysfs/dir.c:487 sysfs_add_one+0x88/0xb0()
sysfs: cannot create duplicate filename '/devices/virtual/misc/leds'
Modules linked in: gt2440_leds(+)
Backtrace:省略......
是因为系统中已经存在了驱动设备,你又加载了一遍,所以出现以上错误
|