Merge "init: skip "name" DT entry"
This commit is contained in:
commit
24e3b8d091
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ static void process_kernel_dt() {
|
|||
|
||||
struct dirent *dp;
|
||||
while ((dp = readdir(dir.get())) != NULL) {
|
||||
if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible")) {
|
||||
if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible") || !strcmp(dp->d_name, "name")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue