diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:33:52 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:16 -0400 |
commit | 772defc6292bae8b6db298476d1dabd22a99492b (patch) | |
tree | b973807f7f65f6d59e8a273ff80ab3d312e71dc3 /drivers/pnp/base.h | |
parent | 1692b27bf37826f85f9c12f8468848885643532a (diff) |
PNP: change pnp_add_id() to allocate its own pnp_id structures
This moves some of the pnp_id knowledge out of the backends and into
the PNP core.
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/base.h')
-rw-r--r-- | drivers/pnp/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index abefcc351521..ba55b0623f7e 100644 --- a/drivers/pnp/base.h +++ b/drivers/pnp/base.h | |||
@@ -1,6 +1,6 @@ | |||
1 | extern spinlock_t pnp_lock; | 1 | extern spinlock_t pnp_lock; |
2 | void *pnp_alloc(long size); | 2 | void *pnp_alloc(long size); |
3 | int pnp_add_id(struct pnp_id *id, struct pnp_dev *dev); | 3 | struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); |
4 | int pnp_interface_attach_device(struct pnp_dev *dev); | 4 | int pnp_interface_attach_device(struct pnp_dev *dev); |
5 | void pnp_fixup_device(struct pnp_dev *dev); | 5 | void pnp_fixup_device(struct pnp_dev *dev); |
6 | void pnp_free_option(struct pnp_option *option); | 6 | void pnp_free_option(struct pnp_option *option); |