Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175645179
D34989.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
D34989.diff
View Options
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c
--- a/sys/dev/acpica/acpi_ec.c
+++ b/sys/dev/acpica/acpi_ec.c
@@ -395,7 +395,7 @@
* checks DF_ENABLED at the start and so disabling it here is too late to
* prevent device_attach() from being called.
*/
- peer = devclass_get_device(acpi_ec_devclass, params->uid);
+ peer = devclass_get_device(device_get_devclass(dev), params->uid);
if (peer != NULL && device_is_alive(peer)) {
device_disable(dev);
goto out;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 13, 6:22 AM (50 m, 29 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40731490
Default Alt Text
D34989.diff (508 B)
Attached To
Mode
D34989: acpi_ec: Use device_get_devclass to find devclass in probe.
Attached
Detach File
Event Timeline
Log In to Comment