mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
powerpc: convert CONFIG_PPC_MERGE to CONFIG_PPC for legacy io checks
Now that arch/ppc is dead CONFIG_PPC_MERGE is always defined for all powerpc platforms and we want to get rid of CONFIG_PPC_MERGE use CONFIG_PPC instead. Signed-off-by: Kumar Gala <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
This commit is contained in:
parent
1e16dfc1ba
commit
68e1ee62f0
6 changed files with 7 additions and 7 deletions
|
|
@ -1012,7 +1012,7 @@ static int __init isapnp_init(void)
|
|||
printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n");
|
||||
return 0;
|
||||
}
|
||||
#ifdef CONFIG_PPC_MERGE
|
||||
#ifdef CONFIG_PPC
|
||||
if (check_legacy_ioport(_PIDXR) || check_legacy_ioport(_PNPWRP))
|
||||
return -EINVAL;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -519,7 +519,7 @@ static int __init pnpbios_init(void)
|
|||
{
|
||||
int ret;
|
||||
|
||||
#if defined(CONFIG_PPC_MERGE)
|
||||
#if defined(CONFIG_PPC)
|
||||
if (check_legacy_ioport(PNPBIOS_BASE))
|
||||
return -ENODEV;
|
||||
#endif
|
||||
|
|
@ -577,7 +577,7 @@ static int __init pnpbios_thread_init(void)
|
|||
{
|
||||
struct task_struct *task;
|
||||
|
||||
#if defined(CONFIG_PPC_MERGE)
|
||||
#if defined(CONFIG_PPC)
|
||||
if (check_legacy_ioport(PNPBIOS_BASE))
|
||||
return 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue