>Can we please get this integrated
>already? I want to try some more changes to pci.h and I'd rather keep
>the patches separate.
to remove from that diff. Here is a corrected patch. It will
be offset by one line when you apply it.
Adam J. Richter __ ______________ 575 Oroville Road
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."
--- linux-2.5.50/include/linux/pci.h 2002-11-27 14:35:59.000000000 -0800
u8 rom_base_reg; /* which config register controls the ROM */
struct pci_driver *driver; /* which driver has allocated this device */
- void *driver_data; /* data private to the driver */
u64 dma_mask; /* Mask of the bits of bus address this
device implements. Normally this is
static inline void *pci_get_drvdata (struct pci_dev *pdev)
- return pdev->driver_data;
+ return pdev->dev.driver_data;
static inline void pci_set_drvdata (struct pci_dev *pdev, void *data)
- pdev->driver_data = data;
+ pdev->dev.driver_data = data;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/