Re: [PATCH] PCI: pci_bus_add_device() should succeed even if creatingsysfs files fails
From: Yinghai Lu
Date: Wed Apr 17 2013 - 13:30:19 EST
On Wed, Apr 17, 2013 at 9:42 AM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:
> It would be ideal if we could get rid of the pci_sysfs_init()
> late_initcall and just make the pci_create_sysfs_dev_files() from
> pci_bus_add_device() work all the time, even at boot-time. I didn't
> look hard enough to figure out why this needs to be a late_initcall.
have to call that after pci assign unassigned resource.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/