diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:33:55 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:17 -0400 |
commit | 048825deea5f261335b5202cd1114c53a3a21ae7 (patch) | |
tree | 2398c49b04f00569f86e7c50c4de081f10d3b2e8 /include | |
parent | bda1e4e5a3d976046378cd495a63e1ee0847deec (diff) |
PNP: make pnp_add_card_id() internal to PNP core
pnp_add_card_id() doesn't need to be exposed outside the PNP core, so
move the declaration to an internal header file.
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 'include')
-rw-r--r-- | include/linux/pnp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index 9a05ab5515b6..7639db83ce3f 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -371,7 +371,6 @@ int pnp_add_card(struct pnp_card *card); | |||
371 | void pnp_remove_card(struct pnp_card *card); | 371 | void pnp_remove_card(struct pnp_card *card); |
372 | int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev); | 372 | int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev); |
373 | void pnp_remove_card_device(struct pnp_dev *dev); | 373 | void pnp_remove_card_device(struct pnp_dev *dev); |
374 | int pnp_add_card_id(struct pnp_id *id, struct pnp_card *card); | ||
375 | struct pnp_dev *pnp_request_card_device(struct pnp_card_link *clink, | 374 | struct pnp_dev *pnp_request_card_device(struct pnp_card_link *clink, |
376 | const char *id, struct pnp_dev *from); | 375 | const char *id, struct pnp_dev *from); |
377 | void pnp_release_card_device(struct pnp_dev *dev); | 376 | void pnp_release_card_device(struct pnp_dev *dev); |
@@ -423,7 +422,6 @@ static inline int pnp_add_card(struct pnp_card *card) { return -ENODEV; } | |||
423 | static inline void pnp_remove_card(struct pnp_card *card) { } | 422 | static inline void pnp_remove_card(struct pnp_card *card) { } |
424 | static inline int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev) { return -ENODEV; } | 423 | static inline int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev) { return -ENODEV; } |
425 | static inline void pnp_remove_card_device(struct pnp_dev *dev) { } | 424 | static inline void pnp_remove_card_device(struct pnp_dev *dev) { } |
426 | static inline int pnp_add_card_id(struct pnp_id *id, struct pnp_card *card) { return -ENODEV; } | ||
427 | static inline struct pnp_dev *pnp_request_card_device(struct pnp_card_link *clink, const char *id, struct pnp_dev *from) { return NULL; } | 425 | static inline struct pnp_dev *pnp_request_card_device(struct pnp_card_link *clink, const char *id, struct pnp_dev *from) { return NULL; } |
428 | static inline void pnp_release_card_device(struct pnp_dev *dev) { } | 426 | static inline void pnp_release_card_device(struct pnp_dev *dev) { } |
429 | static inline int pnp_register_card_driver(struct pnp_card_driver *drv) { return -ENODEV; } | 427 | static inline int pnp_register_card_driver(struct pnp_card_driver *drv) { return -ENODEV; } |