Код: Выделить всё
spin_lock(&devices_kset-\>list_lock);
while (!list_empty(&devices_kset-\>list)) {
dev = list_entry(devices_kset-\>list.prev, struct device,kobj.entry);
Код: Выделить всё
error: use of undeclared identifier 'devices_kset'
Итак, мой вопрос:
Есть ли другой способ перебрать все устройства ядра в GKI?< /п>
Подробнее здесь: https://stackoverflow.com/questions/792 ... rnel-image
Мобильная версия