Merge "init: skip "name" DT entry"

am: 24e3b8d091

* commit '24e3b8d0912350e64b0268a627449cf7457039b8':
  init: skip "name" DT entry
This commit is contained in:
Rom Lemarchand 2015-11-09 17:38:26 +00:00 committed by android-build-merger
commit b95031f87a

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