aboutsummaryrefslogtreecommitdiff
path: root/drivers/core/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/root.c')
-rw-r--r--drivers/core/root.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c
index fe0562c..78eee08 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -6,6 +6,8 @@
* Pavel Herrmann <morpheus.ibis@gmail.com>
*/
+#define LOG_CATEGORY UCLASS_ROOT
+
#include <common.h>
#include <errno.h>
#include <fdtdec.h>
@@ -111,9 +113,6 @@ void fix_uclass(void)
entry->init += gd->reloc_off;
if (entry->destroy)
entry->destroy += gd->reloc_off;
- /* FIXME maybe also need to fix these ops */
- if (entry->ops)
- entry->ops += gd->reloc_off;
}
}