diff options
author | Drew Moseley <dmoseley@mvista.com> | 2008-09-27 19:31:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 12:24:51 -0400 |
commit | 8a89efd18aa15bb832778baa4e6eee3857ecada4 (patch) | |
tree | 91b4fe321aecd787d995543bc49e894a3c123628 /drivers/pnp/base.h | |
parent | 3ce24d8d93f8f9617841d0c8416174da7ee1b042 (diff) |
PNP: create device attributes via default device attributes
This creates the attributes before the uevent is sent.
Signed-off-by: Drew Moseley <dmoseley@mvista.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pnp/base.h')
-rw-r--r-- | drivers/pnp/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index 9fd7bb9b7dce..3532984a9cab 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); |