Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259973
b: refs/heads/master
c: 099f79f
h: refs/heads/master
i:
  259971: 5b4656e
v: v3
  • Loading branch information
matt mooney authored and Greg Kroah-Hartman committed Jul 6, 2011
1 parent 542921b commit b9dfa1d
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c93be5b178ca7f3f4599da7a26a5828ab36aafb4
refs/heads/master: 099f79fa5a02c909ca1a621768fe454b664a7efa
2 changes: 1 addition & 1 deletion trunk/drivers/staging/usbip/userspace/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SUBDIRS := libsrc src
includedir := @includedir@/usbip
include_HEADERS := $(addprefix libsrc/, \
usbip.h usbip_common.h vhci_driver.h stub_driver.h)
usbip_common.h vhci_driver.h stub_driver.h)

dist_man_MANS := $(addprefix doc/, usbip.8 usbipd.8 usbip_bind_driver.8)
2 changes: 1 addition & 1 deletion trunk/drivers/staging/usbip/userspace/libsrc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ libusbip_la_CFLAGS := @EXTRA_CFLAGS@
libusbip_la_LDFLAGS := -version-info @LIBUSBIP_VERSION@

lib_LTLIBRARIES := libusbip.la
libusbip_la_SOURCES := names.c names.h stub_driver.c stub_driver.h usbip.h \
libusbip_la_SOURCES := names.c names.h stub_driver.c stub_driver.h \
usbip_common.c usbip_common.h vhci_driver.c vhci_driver.h
3 changes: 2 additions & 1 deletion trunk/drivers/staging/usbip/userspace/libsrc/stub_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#include <errno.h>
#include <unistd.h>

#include "usbip.h"
#include "usbip_common.h"
#include "stub_driver.h"

#undef PROGNAME
#define PROGNAME "libusbip"
Expand Down
11 changes: 6 additions & 5 deletions trunk/drivers/staging/usbip/userspace/libsrc/stub_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* Copyright (C) 2005-2007 Takahiro Hirofuchi
*/

#ifndef _USBIP_STUB_DRIVER_H
#define _USBIP_STUB_DRIVER_H

#include "usbip.h"
#ifndef __USBIP_STUB_DRIVER_H
#define __USBIP_STUB_DRIVER_H

#include <stdint.h>
#include "usbip_common.h"

struct usbip_stub_driver {
int ndevs;
Expand All @@ -33,4 +33,5 @@ int usbip_stub_refresh_device_list(void);
int usbip_stub_export_device(struct usbip_exported_device *edev, int sockfd);

struct usbip_exported_device *usbip_stub_get_device(int num);
#endif

#endif /* __USBIP_STUB_DRIVER_H */
19 changes: 0 additions & 19 deletions trunk/drivers/staging/usbip/userspace/libsrc/usbip.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (C) 2005-2007 Takahiro Hirofuchi
*/

#include "usbip.h"
#include "usbip_common.h"
#include "names.h"

#undef PROGNAME
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/usbip/userspace/libsrc/vhci_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Copyright (C) 2005-2007 Takahiro Hirofuchi
*/


#include "usbip.h"
#include "usbip_common.h"
#include "vhci_driver.h"

#undef PROGNAME
#define PROGNAME "libusbip"
Expand Down
13 changes: 8 additions & 5 deletions trunk/drivers/staging/usbip/userspace/libsrc/vhci_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
* Copyright (C) 2005-2007 Takahiro Hirofuchi
*/

#ifndef _VHCI_DRIVER_H
#define _VHCI_DRIVER_H
#ifndef __VHCI_DRIVER_H
#define __VHCI_DRIVER_H

#include "usbip.h"
#include <sysfs/libsysfs.h>
#include <stdint.h>

#define USBIP_VHCI_BUS_TYPE "platform"
#include "usbip_common.h"

#define USBIP_VHCI_BUS_TYPE "platform"
#define MAXNPORT 128

struct usbip_class_device {
Expand Down Expand Up @@ -61,4 +63,5 @@ int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum,
uint8_t devnum, uint32_t speed);

int usbip_vhci_detach_device(uint8_t port);
#endif

#endif /* __VHCI_DRIVER_H */

0 comments on commit b9dfa1d

Please sign in to comment.