summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-05-13 02:38:37 -0700
committerPatrick Mochel <mochel@osdl.org>2003-05-13 02:38:37 -0700
commit8c4043ac9263cb1447dd6f31d6e28ab009c6a86c (patch)
tree130c115a902f2d1981ba4a3949a616c0c1789142 /include/linux/device.h
parente50ebaf57a04f0708bda5f8bf8e3806d0ca93af6 (diff)
driver model: Define BUS_ID_SIZE based on KOBJ_NAME_LEN
From Ben Collins.
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 208d615b103d..aa01d65e4576 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -35,7 +35,7 @@
#define DEVICE_NAME_SIZE 50
#define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */
#define DEVICE_ID_SIZE 32
-#define BUS_ID_SIZE 20
+#define BUS_ID_SIZE KOBJ_NAME_LEN
enum {