aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/setup-common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index ed07a198f8d6..38c4b733a72e 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -486,6 +486,14 @@ int check_legacy_ioport(unsigned long base_port)
486 486
487 switch(base_port) { 487 switch(base_port) {
488 case I8042_DATA_REG: 488 case I8042_DATA_REG:
489 if (!(np = of_find_compatible_node(NULL, NULL, "pnpPNP,303")))
490 np = of_find_compatible_node(NULL, NULL, "pnpPNP,f03");
491 if (np) {
492 parent = of_get_parent(np);
493 of_node_put(np);
494 np = parent;
495 break;
496 }
489 np = of_find_node_by_type(NULL, "8042"); 497 np = of_find_node_by_type(NULL, "8042");
490 break; 498 break;
491 case FDC_BASE: /* FDC1 */ 499 case FDC_BASE: /* FDC1 */