diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-05-13 02:38:37 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-05-13 02:38:37 -0700 |
| commit | 8c4043ac9263cb1447dd6f31d6e28ab009c6a86c (patch) | |
| tree | 130c115a902f2d1981ba4a3949a616c0c1789142 /include/linux/device.h | |
| parent | e50ebaf57a04f0708bda5f8bf8e3806d0ca93af6 (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.h | 2 |
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 { |
