video: fbdev: riva: deprecate pci_get_bus_and_slot()
[sfrench/cifs-2.6.git] / drivers / video / fbdev / riva / riva_hw.h
index c2769f73e0b2a23ca677c53bf86d78006005e826..5e7b35466b000eb63022b7b9a2b18ab1acedfb23 100644 (file)
@@ -536,6 +536,7 @@ extern int CalcStateExt
 (
     RIVA_HW_INST  *chip,
     RIVA_HW_STATE *state,
+    struct pci_dev *pdev,
     int            bpp,
     int            width,
     int            hDisplaySize,
@@ -546,7 +547,7 @@ extern int CalcStateExt
 /*
  * External routines.
  */
-int RivaGetConfig(RIVA_HW_INST *, unsigned int);
+int RivaGetConfig(RIVA_HW_INST *chip, struct pci_dev *pdev, unsigned int c);
 /*
  * FIFO Free Count. Should attempt to yield processor if RIVA is busy.
  */