|
@@ -351,7 +351,7 @@ marvel_init_io7(struct io7 *io7)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-void
|
|
|
|
|
|
+void __init
|
|
marvel_io7_present(gct6_node *node)
|
|
marvel_io7_present(gct6_node *node)
|
|
{
|
|
{
|
|
int pe;
|
|
int pe;
|
|
@@ -369,6 +369,7 @@ marvel_io7_present(gct6_node *node)
|
|
static void __init
|
|
static void __init
|
|
marvel_find_console_vga_hose(void)
|
|
marvel_find_console_vga_hose(void)
|
|
{
|
|
{
|
|
|
|
+#ifdef CONFIG_VGA_HOSE
|
|
u64 *pu64 = (u64 *)((u64)hwrpb + hwrpb->ctbt_offset);
|
|
u64 *pu64 = (u64 *)((u64)hwrpb + hwrpb->ctbt_offset);
|
|
|
|
|
|
if (pu64[7] == 3) { /* TERM_TYPE == graphics */
|
|
if (pu64[7] == 3) { /* TERM_TYPE == graphics */
|
|
@@ -402,9 +403,10 @@ marvel_find_console_vga_hose(void)
|
|
pci_vga_hose = hose;
|
|
pci_vga_hose = hose;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
-gct6_search_struct gct_wanted_node_list[] = {
|
|
|
|
|
|
+gct6_search_struct gct_wanted_node_list[] __initdata = {
|
|
{ GCT_TYPE_HOSE, GCT_SUBTYPE_IO_PORT_MODULE, marvel_io7_present },
|
|
{ GCT_TYPE_HOSE, GCT_SUBTYPE_IO_PORT_MODULE, marvel_io7_present },
|
|
{ 0, 0, NULL }
|
|
{ 0, 0, NULL }
|
|
};
|
|
};
|