diff options
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r-- | include/linux/pnp.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index 1737f071787a..e8187d9faf01 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -390,18 +390,13 @@ int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option, | |||
390 | struct pnp_port *data); | 390 | struct pnp_port *data); |
391 | int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, | 391 | int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, |
392 | struct pnp_mem *data); | 392 | struct pnp_mem *data); |
393 | void pnp_init_resource_table(struct pnp_resource_table *table); | ||
394 | void pnp_init_resources(struct pnp_dev *dev); | 393 | void pnp_init_resources(struct pnp_dev *dev); |
395 | int pnp_manual_config_dev(struct pnp_dev *dev, struct pnp_resource_table *res, | ||
396 | int mode); | ||
397 | int pnp_auto_config_dev(struct pnp_dev *dev); | 394 | int pnp_auto_config_dev(struct pnp_dev *dev); |
398 | int pnp_validate_config(struct pnp_dev *dev); | 395 | int pnp_validate_config(struct pnp_dev *dev); |
399 | int pnp_start_dev(struct pnp_dev *dev); | 396 | int pnp_start_dev(struct pnp_dev *dev); |
400 | int pnp_stop_dev(struct pnp_dev *dev); | 397 | int pnp_stop_dev(struct pnp_dev *dev); |
401 | int pnp_activate_dev(struct pnp_dev *dev); | 398 | int pnp_activate_dev(struct pnp_dev *dev); |
402 | int pnp_disable_dev(struct pnp_dev *dev); | 399 | int pnp_disable_dev(struct pnp_dev *dev); |
403 | void pnp_resource_change(struct resource *resource, resource_size_t start, | ||
404 | resource_size_t size); | ||
405 | 400 | ||
406 | /* protocol helpers */ | 401 | /* protocol helpers */ |
407 | int pnp_is_active(struct pnp_dev *dev); | 402 | int pnp_is_active(struct pnp_dev *dev); |
@@ -438,16 +433,13 @@ static inline int pnp_register_irq_resource(struct pnp_dev *dev, struct pnp_opti | |||
438 | static inline int pnp_register_dma_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_dma *data) { return -ENODEV; } | 433 | static inline int pnp_register_dma_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_dma *data) { return -ENODEV; } |
439 | static inline int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_port *data) { return -ENODEV; } | 434 | static inline int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_port *data) { return -ENODEV; } |
440 | static inline int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_mem *data) { return -ENODEV; } | 435 | static inline int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option, struct pnp_mem *data) { return -ENODEV; } |
441 | static inline void pnp_init_resource_table(struct pnp_resource_table *table) { } | ||
442 | static inline void pnp_init_resources(struct pnp_dev *dev) { } | 436 | static inline void pnp_init_resources(struct pnp_dev *dev) { } |
443 | static inline int pnp_manual_config_dev(struct pnp_dev *dev, struct pnp_resource_table *res, int mode) { return -ENODEV; } | ||
444 | static inline int pnp_auto_config_dev(struct pnp_dev *dev) { return -ENODEV; } | 437 | static inline int pnp_auto_config_dev(struct pnp_dev *dev) { return -ENODEV; } |
445 | static inline int pnp_validate_config(struct pnp_dev *dev) { return -ENODEV; } | 438 | static inline int pnp_validate_config(struct pnp_dev *dev) { return -ENODEV; } |
446 | static inline int pnp_start_dev(struct pnp_dev *dev) { return -ENODEV; } | 439 | static inline int pnp_start_dev(struct pnp_dev *dev) { return -ENODEV; } |
447 | static inline int pnp_stop_dev(struct pnp_dev *dev) { return -ENODEV; } | 440 | static inline int pnp_stop_dev(struct pnp_dev *dev) { return -ENODEV; } |
448 | static inline int pnp_activate_dev(struct pnp_dev *dev) { return -ENODEV; } | 441 | static inline int pnp_activate_dev(struct pnp_dev *dev) { return -ENODEV; } |
449 | static inline int pnp_disable_dev(struct pnp_dev *dev) { return -ENODEV; } | 442 | static inline int pnp_disable_dev(struct pnp_dev *dev) { return -ENODEV; } |
450 | static inline void pnp_resource_change(struct resource *resource, resource_size_t start, resource_size_t size) { } | ||
451 | 443 | ||
452 | /* protocol helpers */ | 444 | /* protocol helpers */ |
453 | static inline int pnp_is_active(struct pnp_dev *dev) { return 0; } | 445 | static inline int pnp_is_active(struct pnp_dev *dev) { return 0; } |