Commit c495aaaf authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Linus Torvalds

USB: fix up compile error in tiglusb driver due to devfs_mk_cdev() changes.

parent 237f100a
...@@ -370,7 +370,7 @@ tiglusb_probe (struct usb_interface *intf, ...@@ -370,7 +370,7 @@ tiglusb_probe (struct usb_interface *intf,
up (&s->mutex); up (&s->mutex);
dbg ("bound to interface"); dbg ("bound to interface");
devfs_mk_cdev(MAJOR(TIUSB_MAJOR, TIUSB_MINOR + s->minor), devfs_mk_cdev(MKDEV(TIUSB_MAJOR, TIUSB_MINOR) + s->minor,
S_IFCHR | S_IRUGO | S_IWUGO, S_IFCHR | S_IRUGO | S_IWUGO,
"ticables/usb/%d", s->minor); "ticables/usb/%d", s->minor);
......
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