Skip to content

Commit

Permalink
staging: usbip: userspace: bind_driver.c: update kernel module name
Browse files Browse the repository at this point in the history
Change kernel module name to usbip-host.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
matt mooney authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent d012c2a commit 4b93bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/usbip/userspace/src/bind-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4b93bb3

Please sign in to comment.