Commit 80949562 authored by Patrick Mochel's avatar Patrick Mochel

driver model: typo in intf.c.

parent a8c3e563
...@@ -37,7 +37,7 @@ int interface_register(struct device_interface * intf) ...@@ -37,7 +37,7 @@ int interface_register(struct device_interface * intf)
struct device_class * cls = intf->devclass; struct device_class * cls = intf->devclass;
if (cls) { if (cls) {
pr_debug("register interface '%s' with class '%s\n", pr_debug("register interface '%s' with class '%s'\n",
intf->name,cls->name); intf->name,cls->name);
kobject_init(&intf->kobj); kobject_init(&intf->kobj);
strncpy(intf->kobj.name,intf->name,KOBJ_NAME_LEN); strncpy(intf->kobj.name,intf->name,KOBJ_NAME_LEN);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment