From: Sebastian Ott Date: Tue, 16 Apr 2013 12:19:22 +0000 (+0200) Subject: s390/pci: disable per default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89b0dc958b7ac08ecf23ca25df98f7effe897ed9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/pci: disable per default Disable pci on s390. Enable with pci=on. Suggested-by: Heiko Carstens Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 6a054bf83eb0..dd8e13ef506c 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -1106,13 +1106,13 @@ void zpci_deregister_hp_ops(void) } EXPORT_SYMBOL_GPL(zpci_deregister_hp_ops); -unsigned int s390_pci_probe = 1; +unsigned int s390_pci_probe; EXPORT_SYMBOL_GPL(s390_pci_probe); char * __init pcibios_setup(char *str) { - if (!strcmp(str, "off")) { - s390_pci_probe = 0; + if (!strcmp(str, "on")) { + s390_pci_probe = 1; return NULL; } return str;