diff options
Diffstat (limited to 'drivers/pnp')
| -rw-r--r-- | drivers/pnp/isapnp/core.c | 2 | ||||
| -rw-r--r-- | drivers/pnp/pnpbios/core.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c index 101a835e8759..46455fbab6d5 100644 --- a/drivers/pnp/isapnp/core.c +++ b/drivers/pnp/isapnp/core.c | |||
| @@ -1012,7 +1012,7 @@ static int __init isapnp_init(void) | |||
| 1012 | printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n"); | 1012 | printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n"); |
| 1013 | return 0; | 1013 | return 0; |
| 1014 | } | 1014 | } |
| 1015 | #ifdef CONFIG_PPC_MERGE | 1015 | #ifdef CONFIG_PPC |
| 1016 | if (check_legacy_ioport(_PIDXR) || check_legacy_ioport(_PNPWRP)) | 1016 | if (check_legacy_ioport(_PIDXR) || check_legacy_ioport(_PNPWRP)) |
| 1017 | return -EINVAL; | 1017 | return -EINVAL; |
| 1018 | #endif | 1018 | #endif |
diff --git a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c index 19a4be1a9a31..0797dd170369 100644 --- a/drivers/pnp/pnpbios/core.c +++ b/drivers/pnp/pnpbios/core.c | |||
| @@ -519,7 +519,7 @@ static int __init pnpbios_init(void) | |||
| 519 | { | 519 | { |
| 520 | int ret; | 520 | int ret; |
| 521 | 521 | ||
| 522 | #if defined(CONFIG_PPC_MERGE) | 522 | #if defined(CONFIG_PPC) |
| 523 | if (check_legacy_ioport(PNPBIOS_BASE)) | 523 | if (check_legacy_ioport(PNPBIOS_BASE)) |
| 524 | return -ENODEV; | 524 | return -ENODEV; |
| 525 | #endif | 525 | #endif |
| @@ -577,7 +577,7 @@ static int __init pnpbios_thread_init(void) | |||
| 577 | { | 577 | { |
| 578 | struct task_struct *task; | 578 | struct task_struct *task; |
| 579 | 579 | ||
| 580 | #if defined(CONFIG_PPC_MERGE) | 580 | #if defined(CONFIG_PPC) |
| 581 | if (check_legacy_ioport(PNPBIOS_BASE)) | 581 | if (check_legacy_ioport(PNPBIOS_BASE)) |
| 582 | return 0; | 582 | return 0; |
| 583 | #endif | 583 | #endif |
