From: Bjorn Helgaas Date: Mon, 28 Apr 2008 22:34:09 +0000 (-0600) Subject: PNP: add pnp_init_resources(struct pnp_dev *) interface X-Git-Tag: v2.6.26-rc1~101^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f44900020926b2cb06b87f0f52643d6285514fc3;p=pandora-kernel.git PNP: add pnp_init_resources(struct pnp_dev *) interface Add pnp_init_resources(struct pnp_dev *) to replace pnp_init_resource_table(), which takes a pointer to the pnp_resource_table itself. Passing only the pnp_dev * reduces the possibility for error in the caller and removes the pnp_resource_table implementation detail from the interface. Even though pnp_init_resource_table() is exported, I did not export pnp_init_resources() because it is used only by the PNP core. Signed-off-by: Bjorn Helgaas Acked-By: Rene Herman Signed-off-by: Len Brown --- Reading git-diff-tree failed