diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:33:51 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:15 -0400 |
commit | 1692b27bf37826f85f9c12f8468848885643532a (patch) | |
tree | 98124e58827ed76c17f487cafb88e5b6fc6afeee /include | |
parent | 4a490498643ea37520c315769b293085b6018ddd (diff) |
PNP: make pnp_add_id() internal to PNP core
pnp_add_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 b2f05c230f4b..9a05ab5515b6 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -403,7 +403,6 @@ void pnp_resource_change(struct resource *resource, resource_size_t start, | |||
403 | /* protocol helpers */ | 403 | /* protocol helpers */ |
404 | int pnp_is_active(struct pnp_dev *dev); | 404 | int pnp_is_active(struct pnp_dev *dev); |
405 | int compare_pnp_id(struct pnp_id *pos, const char *id); | 405 | int compare_pnp_id(struct pnp_id *pos, const char *id); |
406 | int pnp_add_id(struct pnp_id *id, struct pnp_dev *dev); | ||
407 | int pnp_register_driver(struct pnp_driver *drv); | 406 | int pnp_register_driver(struct pnp_driver *drv); |
408 | void pnp_unregister_driver(struct pnp_driver *drv); | 407 | void pnp_unregister_driver(struct pnp_driver *drv); |
409 | 408 | ||
@@ -450,7 +449,6 @@ static inline void pnp_resource_change(struct resource *resource, resource_size_ | |||
450 | /* protocol helpers */ | 449 | /* protocol helpers */ |
451 | static inline int pnp_is_active(struct pnp_dev *dev) { return 0; } | 450 | static inline int pnp_is_active(struct pnp_dev *dev) { return 0; } |
452 | static inline int compare_pnp_id(struct pnp_id *pos, const char *id) { return -ENODEV; } | 451 | static inline int compare_pnp_id(struct pnp_id *pos, const char *id) { return -ENODEV; } |
453 | static inline int pnp_add_id(struct pnp_id *id, struct pnp_dev *dev) { return -ENODEV; } | ||
454 | static inline int pnp_register_driver(struct pnp_driver *drv) { return -ENODEV; } | 452 | static inline int pnp_register_driver(struct pnp_driver *drv) { return -ENODEV; } |
455 | static inline void pnp_unregister_driver(struct pnp_driver *drv) { } | 453 | static inline void pnp_unregister_driver(struct pnp_driver *drv) { } |
456 | 454 | ||