From: Bjorn Helgaas Date: Mon, 28 Apr 2008 22:33:58 +0000 (-0600) Subject: PNP: add pnp_alloc_card() X-Git-Tag: v2.6.26-rc1~101^2^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf2aab24a5dc26bf8274c4b9dbbed8ca99ae82c;p=pandora-kernel.git PNP: add pnp_alloc_card() Add pnp_alloc_card() to allocate a struct pnp_card and fill in the protocol, instance number, and initial PNP ID. Now it is always valid to use dev_printk() on any pnp_card pointer. Signed-off-by: Bjorn Helgaas Acked-By: Rene Herman Signed-off-by: Len Brown --- Reading git-diff-tree failed