summaryrefslogtreecommitdiff
path: root/arch/x86_64/pci
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-03 20:28:01 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-07 20:59:01 -0500
commitcc59853b4a9973126e15e0e6bdddf0627d4b99c4 (patch)
tree21e0f3e860c30f9913372c76c3e212d13c0f60de /arch/x86_64/pci
parente80e28b6b67ecc25fa89c9129a5f70de6389b2a6 (diff)
[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86_64/pci')
-rw-r--r--arch/x86_64/pci/mmconfig.c2
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)
return pci_mmcfg_virt[0].virt;
/* Fall back to type 0 */
- return 0;
+ return NULL;
}
static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn)