xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 13 Aug 2012 15:00:08 +0000 (11:00 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 23 Aug 2012 14:19:03 +0000 (10:19 -0400)
arch/x86/xen/pci-swiotlb-xen.c:96:1: warning: Using plain integer as NULL pointer
arch/x86/xen/pci-swiotlb-xen.c:96:1: warning: Using plain integer as NULL pointer

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/pci-swiotlb-xen.c

index 2d58b3ff4faecbdb3672911747bd0c6251eb6eef..1ab45941502d6ca71238ca2f33897dd3e75b496e 100644 (file)
@@ -63,6 +63,6 @@ void __init pci_xen_swiotlb_init(void)
        }
 }
 IOMMU_INIT_FINISH(pci_xen_swiotlb_detect,
-                 0,
+                 NULL,
                  pci_xen_swiotlb_init,
-                 0);
+                 NULL);