Commit 8c4043ac authored by Patrick Mochel's avatar Patrick Mochel

driver model: Define BUS_ID_SIZE based on KOBJ_NAME_LEN

From Ben Collins.
parent e50ebaf5
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#define DEVICE_NAME_SIZE 50 #define DEVICE_NAME_SIZE 50
#define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */ #define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */
#define DEVICE_ID_SIZE 32 #define DEVICE_ID_SIZE 32
#define BUS_ID_SIZE 20 #define BUS_ID_SIZE KOBJ_NAME_LEN
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment