diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-02 00:02:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:54:52 -0400 |
commit | aab0de245150c09e61c30962feb16aacde508dc3 (patch) | |
tree | cd9cfa1e2c09aeb4cdeee605efa45fef90f0d38a /include/linux/device.h | |
parent | f75b1c60fc1e53c4004a79ea0be071aa3318cdcc (diff) |
driver core: remove KOBJ_NAME_LEN define
Kobjects do not have a limit in name size since a while, so stop
pretending that they do.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 0e1d24c2ed4..fba1bb0d175 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -29,8 +29,7 @@ | |||
29 | /* DEVICE_NAME_HALF is really less than half to accommodate slop */ | 29 | /* DEVICE_NAME_HALF is really less than half to accommodate slop */ |
30 | #define DEVICE_NAME_HALF __stringify(20) | 30 | #define DEVICE_NAME_HALF __stringify(20) |
31 | #define DEVICE_ID_SIZE 32 | 31 | #define DEVICE_ID_SIZE 32 |
32 | #define BUS_ID_SIZE KOBJ_NAME_LEN | 32 | #define BUS_ID_SIZE 20 |
33 | |||
34 | 33 | ||
35 | struct device; | 34 | struct device; |
36 | struct device_driver; | 35 | struct device_driver; |