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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index 8d7c9bc2fdbb..1737f071787a 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -391,6 +391,7 @@ int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option,
391int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, 391int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option,
392 struct pnp_mem *data); 392 struct pnp_mem *data);
393void pnp_init_resource_table(struct pnp_resource_table *table); 393void pnp_init_resource_table(struct pnp_resource_table *table);
394void pnp_init_resources(struct pnp_dev *dev);
394int pnp_manual_config_dev(struct pnp_dev *dev, struct pnp_resource_table *res, 395int pnp_manual_config_dev(struct pnp_dev *dev, struct pnp_resource_table *res,
395 int mode); 396 int mode);
396int pnp_auto_config_dev(struct pnp_dev *dev); 397int pnp_auto_config_dev(struct pnp_dev *dev);
@@ -438,6 +439,7 @@ static inline int pnp_register_dma_resource(struct pnp_dev *dev, struct pnp_opti
438static inline int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_port *data) { return -ENODEV; } 439static inline int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_port *data) { return -ENODEV; }
439static inline int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_mem *data) { return -ENODEV; } 440static inline int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_mem *data) { return -ENODEV; }
440static inline void pnp_init_resource_table(struct pnp_resource_table *table) { } 441static inline void pnp_init_resource_table(struct pnp_resource_table *table) { }
442static inline void pnp_init_resources(struct pnp_dev *dev) { }
441static inline int pnp_manual_config_dev(struct pnp_dev *dev, struct pnp_resource_table *res, int mode) { return -ENODEV; } 443static inline int pnp_manual_config_dev(struct pnp_dev *dev, struct pnp_resource_table *res, int mode) { return -ENODEV; }
442static inline int pnp_auto_config_dev(struct pnp_dev *dev) { return -ENODEV; } 444static inline int pnp_auto_config_dev(struct pnp_dev *dev) { return -ENODEV; }
443static inline int pnp_validate_config(struct pnp_dev *dev) { return -ENODEV; } 445static inline int pnp_validate_config(struct pnp_dev *dev) { return -ENODEV; }