diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:33:56 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:17 -0400 |
commit | e436675f2a09ea389c1844507658f304924a2eca (patch) | |
tree | 21d2885e5b6124faa8ff39e109d8b89316d8b70d /drivers/pnp/base.h | |
parent | 048825deea5f261335b5202cd1114c53a3a21ae7 (diff) |
PNP: change pnp_add_card_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 b492569bcdf4..37f7d85fc4bc 100644 --- a/drivers/pnp/base.h +++ b/drivers/pnp/base.h | |||
@@ -4,7 +4,7 @@ void *pnp_alloc(long size); | |||
4 | void pnp_eisa_id_to_string(u32 id, char *str); | 4 | void pnp_eisa_id_to_string(u32 id, char *str); |
5 | struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *, int id, char *pnpid); | 5 | struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *, int id, char *pnpid); |
6 | struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); | 6 | struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); |
7 | int pnp_add_card_id(struct pnp_id *id, struct pnp_card *card); | 7 | struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id); |
8 | int pnp_interface_attach_device(struct pnp_dev *dev); | 8 | int pnp_interface_attach_device(struct pnp_dev *dev); |
9 | void pnp_fixup_device(struct pnp_dev *dev); | 9 | void pnp_fixup_device(struct pnp_dev *dev); |
10 | void pnp_free_option(struct pnp_option *option); | 10 | void pnp_free_option(struct pnp_option *option); |