diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-29 00:33:58 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 09:22:17 +0200 |
commit | 6bf2aab24a5dc26bf8274c4b9dbbed8ca99ae82c (patch) | |
tree | 910e6795cf929481cecb00fc5ebad43121beba56 /drivers/pnp/pnpacpi | |
parent | ISAPNP: pull pnp_add_card_id() out of isapnp_parse_card_id() (diff) | |
download | linux-6bf2aab24a5dc26bf8274c4b9dbbed8ca99ae82c.tar.xz linux-6bf2aab24a5dc26bf8274c4b9dbbed8ca99ae82c.zip |
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 <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/pnpacpi')
0 files changed, 0 insertions, 0 deletions