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/driver.c | |
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/driver.c')
-rw-r--r-- | drivers/pnp/driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pnp/driver.c b/drivers/pnp/driver.c index d3f869ee1d92..e3f7e89c4dfb 100644 --- a/drivers/pnp/driver.c +++ b/drivers/pnp/driver.c | |||
@@ -206,6 +206,7 @@ struct bus_type pnp_bus_type = { | |||
206 | .remove = pnp_device_remove, | 206 | .remove = pnp_device_remove, |
207 | .suspend = pnp_bus_suspend, | 207 | .suspend = pnp_bus_suspend, |
208 | .resume = pnp_bus_resume, | 208 | .resume = pnp_bus_resume, |
209 | .dev_attrs = pnp_interface_attrs, | ||
209 | }; | 210 | }; |
210 | 211 | ||
211 | int pnp_register_driver(struct pnp_driver *drv) | 212 | int pnp_register_driver(struct pnp_driver *drv) |