]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/xtensa/kernel/setup.c
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
[mirror_ubuntu-zesty-kernel.git] / arch / xtensa / kernel / setup.c
index 8fd4be610607c2683b16a3e0da4249f4aea732e4..75e47e5436e3a3407f95f084728d936be4eacb57 100644 (file)
@@ -126,6 +126,8 @@ static int __init parse_tag_initrd(const bp_tag_t* tag)
 
 __tagtable(BP_TAG_INITRD, parse_tag_initrd);
 
+#endif /* CONFIG_BLK_DEV_INITRD */
+
 #ifdef CONFIG_OF
 
 static int __init parse_tag_fdt(const bp_tag_t *tag)
@@ -138,8 +140,6 @@ __tagtable(BP_TAG_FDT, parse_tag_fdt);
 
 #endif /* CONFIG_OF */
 
-#endif /* CONFIG_BLK_DEV_INITRD */
-
 static int __init parse_tag_cmdline(const bp_tag_t* tag)
 {
        strlcpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE);