Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101953944
D35082.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
398 B
Referenced Files
None
Subscribers
None
D35082.diff
View Options
diff --git a/sys/arm/ti/am335x/am335x_ecap.c b/sys/arm/ti/am335x/am335x_ecap.c
--- a/sys/arm/ti/am335x/am335x_ecap.c
+++ b/sys/arm/ti/am335x/am335x_ecap.c
@@ -107,7 +107,7 @@
struct am335x_ecap_softc *sc;
uint16_t reg;
- dev = devclass_get_device(am335x_ecap_devclass, unit);
+ dev = devclass_get_device(devclass_find(am335x_ecap_driver.name), unit);
if (dev == NULL)
return (ENXIO);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 6:41 PM (19 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14497980
Default Alt Text
D35082.diff (398 B)
Attached To
Mode
D35082: am335x_pwm_config_ecap: Use devclass_find to lookup devclass.
Attached
Detach File
Event Timeline
Log In to Comment