diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-01-30 09:52:16 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-14 09:55:12 -0500 |
commit | 1e5635d10d8112e61776b9513491329f7b0859ce (patch) | |
tree | db8d5df9a36b2c86e103da682be9792512dce426 | |
parent | a50b2eae8b9aed3840d7e045c9417ce5e6c5ce91 (diff) |
s390/pci: rename pci_probe to s390_pci_probe
pci_probe is too generic and has a name clash with other common code parts.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | arch/s390/include/asm/pci.h | 2 | ||||
-rw-r--r-- | arch/s390/pci/pci.c | 8 | ||||
-rw-r--r-- | drivers/pci/hotplug/s390_pci_hpc.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h index 23d6a245e8a7..6383c44c6629 100644 --- a/arch/s390/include/asm/pci.h +++ b/arch/s390/include/asm/pci.h | |||
@@ -186,7 +186,7 @@ void zpci_dma_exit(void); | |||
186 | extern struct mutex zpci_list_lock; | 186 | extern struct mutex zpci_list_lock; |
187 | extern struct list_head zpci_list; | 187 | extern struct list_head zpci_list; |
188 | extern struct pci_hp_callback_ops hotplug_ops; | 188 | extern struct pci_hp_callback_ops hotplug_ops; |
189 | extern unsigned int pci_probe; | 189 | extern unsigned int s390_pci_probe; |
190 | 190 | ||
191 | /* FMB */ | 191 | /* FMB */ |
192 | int zpci_fmb_enable_device(struct zpci_dev *); | 192 | int zpci_fmb_enable_device(struct zpci_dev *); |
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 60e0372545d2..aa74409db656 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c | |||
@@ -1072,13 +1072,13 @@ static void zpci_mem_exit(void) | |||
1072 | kmem_cache_destroy(zdev_fmb_cache); | 1072 | kmem_cache_destroy(zdev_fmb_cache); |
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | unsigned int pci_probe = 1; | 1075 | unsigned int s390_pci_probe = 1; |
1076 | EXPORT_SYMBOL_GPL(pci_probe); | 1076 | EXPORT_SYMBOL_GPL(s390_pci_probe); |
1077 | 1077 | ||
1078 | char * __init pcibios_setup(char *str) | 1078 | char * __init pcibios_setup(char *str) |
1079 | { | 1079 | { |
1080 | if (!strcmp(str, "off")) { | 1080 | if (!strcmp(str, "off")) { |
1081 | pci_probe = 0; | 1081 | s390_pci_probe = 0; |
1082 | return NULL; | 1082 | return NULL; |
1083 | } | 1083 | } |
1084 | return str; | 1084 | return str; |
@@ -1088,7 +1088,7 @@ static int __init pci_base_init(void) | |||
1088 | { | 1088 | { |
1089 | int rc; | 1089 | int rc; |
1090 | 1090 | ||
1091 | if (!pci_probe) | 1091 | if (!s390_pci_probe) |
1092 | return 0; | 1092 | return 0; |
1093 | 1093 | ||
1094 | if (!test_facility(2) || !test_facility(69) | 1094 | if (!test_facility(2) || !test_facility(69) |
diff --git a/drivers/pci/hotplug/s390_pci_hpc.c b/drivers/pci/hotplug/s390_pci_hpc.c index dee68e0698e1..8fe2a8aa89a1 100644 --- a/drivers/pci/hotplug/s390_pci_hpc.c +++ b/drivers/pci/hotplug/s390_pci_hpc.c | |||
@@ -231,7 +231,7 @@ static int __init pci_hotplug_s390_init(void) | |||
231 | * right now. | 231 | * right now. |
232 | */ | 232 | */ |
233 | 233 | ||
234 | if (!pci_probe) | 234 | if (!s390_pci_probe) |
235 | return -EOPNOTSUPP; | 235 | return -EOPNOTSUPP; |
236 | 236 | ||
237 | /* register callbacks for slot handling from arch code */ | 237 | /* register callbacks for slot handling from arch code */ |