summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-28 16:33:54 -0600
committerLen Brown <len.brown@intel.com>2008-04-29 03:22:16 -0400
commitbda1e4e5a3d976046378cd495a63e1ee0847deec (patch)
treed646e0057940116440d8f2c53ea7fc225d97a0a0 /init
parent25eb846189d20db4114cebf14fee96d69bef4667 (diff)
downloadlwn-bda1e4e5a3d976046378cd495a63e1ee0847deec.tar.gz
lwn-bda1e4e5a3d976046378cd495a63e1ee0847deec.zip
PNP: add pnp_alloc_dev()
Add pnp_alloc_dev() to allocate a struct pnp_dev and fill in the protocol, instance number, and initial PNP ID. Now it is always valid to use dev_printk() on any pnp_dev 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 'init')
0 files changed, 0 insertions, 0 deletions