diff options
| author | Joachim Fenkes <[email protected]> | 2007-08-29 18:15:17 +0200 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2007-09-11 04:30:37 +1000 |
| commit | d8612417b2f78767b96ca434b50d23e5cdfcde07 (patch) | |
| tree | dc6231b7d51c350dfba09dc0d34251313ec286f7 /drivers/rtc/class.c | |
| parent | d51dd3de87026cb0ea1ea5f873f08e930053bfc5 (diff) | |
[POWERPC] ibmebus: Prevent bus_id collisions
Previously, ibmebus derived a device's bus_id from its location code.
The location code is not guaranteed to be unique, so we might get bus_id
collisions if two devices share the same location code. The OFDT
full_name, however, is unique, so we use that instead (truncating it
on the left if it is too long).
Signed-off-by: Joachim Fenkes <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions