On Fri, Mar 9, 2012 at 9:25 AM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote: > > Well, it looks like you can change both save_dev_dmaru() *and* > get_dev_dmaru() to take a struct pci_dev *. I assumed that would be > obvious. no. get_dev_dmaru() have to use bus/devfn to retrieve the dev pointer. Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html