diff options
Diffstat (limited to 'arch/x86_64/pci/mmconfig.c')
-rw-r--r-- | arch/x86_64/pci/mmconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c index b4a3fe4ec249..18f371fe37f8 100644 --- a/arch/x86_64/pci/mmconfig.c +++ b/arch/x86_64/pci/mmconfig.c | |||
@@ -49,7 +49,7 @@ static char __iomem *get_virt(unsigned int seg, unsigned bus) | |||
49 | return pci_mmcfg_virt[0].virt; | 49 | return pci_mmcfg_virt[0].virt; |
50 | 50 | ||
51 | /* Fall back to type 0 */ | 51 | /* Fall back to type 0 */ |
52 | return 0; | 52 | return NULL; |
53 | } | 53 | } |
54 | 54 | ||
55 | static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) | 55 | static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) |