diff options
Diffstat (limited to 'drivers/pnp/base.h')
-rw-r--r-- | drivers/pnp/base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index 5e4e82c82659..0b8d14050efa 100644 --- a/drivers/pnp/base.h +++ b/drivers/pnp/base.h | |||
@@ -4,6 +4,7 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | extern spinlock_t pnp_lock; | 6 | extern spinlock_t pnp_lock; |
7 | extern struct device_attribute pnp_interface_attrs[]; | ||
7 | void *pnp_alloc(long size); | 8 | void *pnp_alloc(long size); |
8 | 9 | ||
9 | int pnp_register_protocol(struct pnp_protocol *protocol); | 10 | int pnp_register_protocol(struct pnp_protocol *protocol); |
@@ -16,7 +17,6 @@ struct pnp_card *pnp_alloc_card(struct pnp_protocol *, int id, char *pnpid); | |||
16 | 17 | ||
17 | int pnp_add_device(struct pnp_dev *dev); | 18 | int pnp_add_device(struct pnp_dev *dev); |
18 | struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); | 19 | struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); |
19 | int pnp_interface_attach_device(struct pnp_dev *dev); | ||
20 | 20 | ||
21 | int pnp_add_card(struct pnp_card *card); | 21 | int pnp_add_card(struct pnp_card *card); |
22 | void pnp_remove_card(struct pnp_card *card); | 22 | void pnp_remove_card(struct pnp_card *card); |
@@ -147,7 +147,7 @@ char *pnp_resource_type_name(struct resource *res); | |||
147 | void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc); | 147 | void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc); |
148 | 148 | ||
149 | void pnp_free_resources(struct pnp_dev *dev); | 149 | void pnp_free_resources(struct pnp_dev *dev); |
150 | int pnp_resource_type(struct resource *res); | 150 | unsigned long pnp_resource_type(struct resource *res); |
151 | 151 | ||
152 | struct pnp_resource { | 152 | struct pnp_resource { |
153 | struct list_head list; | 153 | struct list_head list; |