aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pnp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r--include/linux/pnp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index dfaa567e04a8..e033e1b14c27 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -479,6 +479,8 @@ void pnp_unregister_card_driver(struct pnp_card_driver *drv);
479extern struct list_head pnp_cards; 479extern struct list_head pnp_cards;
480 480
481/* resource management */ 481/* resource management */
482int pnp_possible_config(struct pnp_dev *dev, int type, resource_size_t base,
483 resource_size_t size);
482int pnp_auto_config_dev(struct pnp_dev *dev); 484int pnp_auto_config_dev(struct pnp_dev *dev);
483int pnp_start_dev(struct pnp_dev *dev); 485int pnp_start_dev(struct pnp_dev *dev);
484int pnp_stop_dev(struct pnp_dev *dev); 486int pnp_stop_dev(struct pnp_dev *dev);
@@ -506,6 +508,9 @@ static inline int pnp_register_card_driver(struct pnp_card_driver *drv) { return
506static inline void pnp_unregister_card_driver(struct pnp_card_driver *drv) { } 508static inline void pnp_unregister_card_driver(struct pnp_card_driver *drv) { }
507 509
508/* resource management */ 510/* resource management */
511static inline int pnp_possible_config(struct pnp_dev *dev, int type,
512 resource_size_t base,
513 resource_size_t size) { return 0; }
509static inline int pnp_auto_config_dev(struct pnp_dev *dev) { return -ENODEV; } 514static inline int pnp_auto_config_dev(struct pnp_dev *dev) { return -ENODEV; }
510static inline int pnp_start_dev(struct pnp_dev *dev) { return -ENODEV; } 515static inline int pnp_start_dev(struct pnp_dev *dev) { return -ENODEV; }
511static inline int pnp_stop_dev(struct pnp_dev *dev) { return -ENODEV; } 516static inline int pnp_stop_dev(struct pnp_dev *dev) { return -ENODEV; }