diff options
-rw-r--r-- | drivers/pnp/base.h | 1 | ||||
-rw-r--r-- | include/linux/pnp.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index 6b8c4cfd02a6..31a633f65547 100644 --- a/drivers/pnp/base.h +++ b/drivers/pnp/base.h | |||
@@ -1,4 +1,3 @@ | |||
1 | extern struct bus_type pnp_bus_type; | ||
2 | extern spinlock_t pnp_lock; | 1 | extern spinlock_t pnp_lock; |
3 | void *pnp_alloc(long size); | 2 | void *pnp_alloc(long size); |
4 | int pnp_interface_attach_device(struct pnp_dev *dev); | 3 | int pnp_interface_attach_device(struct pnp_dev *dev); |
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index ab8a8dd8d64c..9a5226f0f169 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -352,6 +352,8 @@ struct pnp_protocol { | |||
352 | (dev) = protocol_to_pnp_dev((dev)->protocol_list.next)) | 352 | (dev) = protocol_to_pnp_dev((dev)->protocol_list.next)) |
353 | 353 | ||
354 | 354 | ||
355 | extern struct bus_type pnp_bus_type; | ||
356 | |||
355 | #if defined(CONFIG_PNP) | 357 | #if defined(CONFIG_PNP) |
356 | 358 | ||
357 | /* device management */ | 359 | /* device management */ |