aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp')
-rw-r--r--drivers/pnp/isapnp/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c
index f2e0179962e2..3ac5b123215a 100644
--- a/drivers/pnp/isapnp/core.c
+++ b/drivers/pnp/isapnp/core.c
@@ -1049,6 +1049,10 @@ static int __init isapnp_init(void)
1049 printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n"); 1049 printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n");
1050 return 0; 1050 return 0;
1051 } 1051 }
1052#ifdef CONFIG_PPC_MERGE
1053 if (check_legacy_ioport(_PIDXR) || check_legacy_ioport(_PNPWRP))
1054 return -EINVAL;
1055#endif
1052#ifdef ISAPNP_REGION_OK 1056#ifdef ISAPNP_REGION_OK
1053 if (!request_region(_PIDXR, 1, "isapnp index")) { 1057 if (!request_region(_PIDXR, 1, "isapnp index")) {
1054 printk(KERN_ERR "isapnp: Index Register 0x%x already used\n", _PIDXR); 1058 printk(KERN_ERR "isapnp: Index Register 0x%x already used\n", _PIDXR);