Add device to hierarchy before calling the driver's probe() function; this
[people/xl0/gpxe.git] / src / arch / i386 / drivers / net / undi.h
index 3ba76c3..221cbbc 100644 (file)
@@ -167,7 +167,7 @@ typedef struct undi {
        uint8_t opened;         /* pxenv_undi_open() has been called */
        /* Parameters that we need to store for future reference
         */
-       struct pci_device       pci;
+       struct pci_device       *pci;
        irq_t                   irq;
 } undi_t;