Merge "init: skip "name" DT entry" am: 24e3b8d091

am: b95031f87a

* commit 'b95031f87a013d86188c63fe47908f35c7c34654':
  init: skip "name" DT entry
This commit is contained in:
Rom Lemarchand 2015-11-09 17:41:09 +00:00 committed by android-build-merger
commit ca4c088214

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