diff options
author | Drew Moseley <dmoseley@mvista.com> | 2008-09-28 01:31:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 09:24:51 -0700 |
commit | 8a89efd18aa15bb832778baa4e6eee3857ecada4 (patch) | |
tree | 91b4fe321aecd787d995543bc49e894a3c123628 /drivers/pnp/driver.c | |
parent | 3ce24d8d93f8f9617841d0c8416174da7ee1b042 (diff) | |
download | linux-8a89efd18aa15bb832778baa4e6eee3857ecada4.tar.bz2 |
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 = { .remove = pnp_device_remove, .suspend = pnp_bus_suspend, .resume = pnp_bus_resume, + .dev_attrs = pnp_interface_attrs, }; int pnp_register_driver(struct pnp_driver *drv) |