summaryrefslogtreecommitdiff
path: root/drivers/core/of_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/of_access.c')
-rw-r--r--drivers/core/of_access.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c
index 3729487387..db2f64bd56 100644
--- a/drivers/core/of_access.c
+++ b/drivers/core/of_access.c
@@ -731,10 +731,6 @@ static void of_alias_add(struct alias_prop *ap, struct device_node *np,
mutex_lock(&of_mutex);
list_for_each_entry(oldap, &aliases_lookup, link) {
if (stem && !strcmp(stem, oldap->alias) && (id == oldap->id)) {
- /* Always use from U-Boot aliase */
- if (strcmp(stem, "mmc"))
- continue;
-
list_del(&oldap->link);
break;
}