compat: Fix autoconf probe for pcie_mpss
authorVinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Thu, 15 Jan 2015 14:21:03 +0000 (09:21 -0500)
committerMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 15 Jan 2015 14:21:03 +0000 (09:21 -0500)
Configure script prints compilation error while
configuring for pcie_mpss:

compat/build/conftest.c:72:7: error: invalid type...
pdev->pcie_mpss = 0;

The qib driver counts on this probe being correct.

bug: 2518

Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
config/rdma.m4

index 844129c..7047d53 100644 (file)
@@ -1638,7 +1638,7 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
        ],[
                struct pci_dev pdev;
 
-               pdev->pcie_mpss = 0;
+               pdev.pcie_mpss = 0;
                return 0;
        ],[
                AC_MSG_RESULT(yes)