summaryrefslogtreecommitdiffstats
path: root/drivers/staging/usbip/stub.h
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-05-27 01:44:12 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 14:26:17 -0700
commit3e4fda9f956d3e8f14e8cabc6dd4f1caa95981e4 (patch)
tree5ac0eacc1b97be406ea9cf26a749c128292555e9 /drivers/staging/usbip/stub.h
parent4cbab52d18fc35e3c66f68e0382cd0815d31bb5f (diff)
downloadlinux-3e4fda9f956d3e8f14e8cabc6dd4f1caa95981e4.tar.bz2
staging: usbip: change the busid size
Change busid size to correspond with SYSFS_BUS_ID_SIZE, which was already being used in most cases. This eliminates the need to define BUS_ID_SIZE in the userspace code. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/stub.h')
-rw-r--r--drivers/staging/usbip/stub.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/usbip/stub.h b/drivers/staging/usbip/stub.h
index 2cc596e81623..132adc57ebc1 100644
--- a/drivers/staging/usbip/stub.h
+++ b/drivers/staging/usbip/stub.h
@@ -76,7 +76,8 @@ struct stub_unlink {
__u32 status;
};
-#define BUSID_SIZE 20
+/* same as SYSFS_BUS_ID_SIZE */
+#define BUSID_SIZE 32
struct bus_id_priv {
char name[BUSID_SIZE];