From: Tejun Heo Date: Thu, 3 Sep 2009 06:26:36 +0000 (+0900) Subject: PCI: separate out pci_add_dynid() X-Git-Tag: v2.6.32-rc1~670^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dba910e9de2c4aa15ec1286f10052c107ef48ca;p=pandora-kernel.git PCI: separate out pci_add_dynid() Separate out pci_add_dynid() from store_new_id() and export it so that in-kernel code can add PCI IDs dynamically. As the function will be available regardless of HOTPLUG, put it and pull pci_free_dynids() outside of CONFIG_HOTPLUG. This will be used by pci-stub to initialize initial IDs via module param. While at it, remove bogus get_driver() failure check. Signed-off-by: Tejun Heo Acked-by: Greg Kroah-Hartman Reviewed-by: Grant Grundler Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed