Merge "init: skip "name" DT entry"

This commit is contained in:
Rom Lemarchand 2015-11-09 17:35:09 +00:00 committed by Gerrit Code Review
commit 24e3b8d091

View file

@ -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;
}