]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: usbip: userspace: bind_driver.c: update kernel module name
authormatt mooney <mfm@muteddisk.com>
Fri, 20 May 2011 04:37:04 +0000 (21:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:51:26 +0000 (13:51 -0700)
Change kernel module name to usbip-host.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/userspace/src/bind-driver.c

index 201ffbbee5476461e61cdada4055a1a4500514d9..dcc540aa76ddca2328129a923d31f3c085785a05 100644 (file)
@@ -27,7 +27,7 @@ static const struct option longopts[] = {
        {NULL,          0,                      NULL,  0}
 };
 
-static const char match_busid_path[] = "/sys/bus/usb/drivers/usbip/match_busid";
+static const char match_busid_path[] = "/sys/bus/usb/drivers/usbip-host/match_busid";
 
 
 static void show_help(void)
@@ -228,7 +228,7 @@ static int bind_to_usbip(char *busid)
        for (i = 0; i < ninterface; i++) {
                int ret;
 
-               ret = bind_interface(busid, configvalue, i, "usbip");
+               ret = bind_interface(busid, configvalue, i, "usbip-host");
                if (ret < 0) {
                        g_warning("bind usbip at %s:%d.%d, failed",
                                        busid, configvalue, i);