diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 21:27:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 21:40:57 -0400 |
commit | fb3fed7926545e44ce36574e1b1c5cdeb018db5c (patch) | |
tree | 4ae81ad7f2338298f3315f562c5bceb63192b213 /drivers/ide/ide.c | |
parent | 00173146897b15b07b8be6c95dd74486e530825d (diff) |
ide: convert bus code to use dev_groups
The dev_attrs field of struct bus_type is going away soon, dev_groups
should be used instead. This converts the ide bus code to use the
correct field.
Acked-by: David S. Miller <davem@davemloft.net>
Cc: <linux-ide@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index fa896210ed7b..2ce6268a2734 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -158,7 +158,7 @@ struct bus_type ide_bus_type = { | |||
158 | .probe = generic_ide_probe, | 158 | .probe = generic_ide_probe, |
159 | .remove = generic_ide_remove, | 159 | .remove = generic_ide_remove, |
160 | .shutdown = generic_ide_shutdown, | 160 | .shutdown = generic_ide_shutdown, |
161 | .dev_attrs = ide_dev_attrs, | 161 | .dev_groups = ide_dev_groups, |
162 | .suspend = generic_ide_suspend, | 162 | .suspend = generic_ide_suspend, |
163 | .resume = generic_ide_resume, | 163 | .resume = generic_ide_resume, |
164 | }; | 164 | }; |