diff options
-rw-r--r-- | drivers/misc/pch_phub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c index 9fbcacd703d5..e2c066e510f3 100644 --- a/drivers/misc/pch_phub.c +++ b/drivers/misc/pch_phub.c | |||
@@ -699,7 +699,7 @@ static int __devinit pch_phub_probe(struct pci_dev *pdev, | |||
699 | chip->pch_phub_base_address = pci_iomap(pdev, 1, 0); | 699 | chip->pch_phub_base_address = pci_iomap(pdev, 1, 0); |
700 | 700 | ||
701 | 701 | ||
702 | if (chip->pch_phub_base_address == 0) { | 702 | if (chip->pch_phub_base_address == NULL) { |
703 | dev_err(&pdev->dev, "%s : pci_iomap FAILED", __func__); | 703 | dev_err(&pdev->dev, "%s : pci_iomap FAILED", __func__); |
704 | ret = -ENOMEM; | 704 | ret = -ENOMEM; |
705 | goto err_pci_iomap; | 705 | goto err_pci_iomap; |