diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-09-09 12:54:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 23:51:07 +0200 |
commit | 1359555eb77d240b7c1d7ee75bb07e89e89770e4 (patch) | |
tree | 62ee852622700d23dffa7593c84420762e07147f /fs/sysfs | |
parent | sysdev: remove global sysdev drivers list (diff) | |
download | linux-1359555eb77d240b7c1d7ee75bb07e89e89770e4.tar.xz linux-1359555eb77d240b7c1d7ee75bb07e89e89770e4.zip |
Driver core: Make platform_device.id an int
While platform_device.id is a u32, platform_device_add() handles "-1"
as a special id value. This has potential for confusion and bugs.
Making it an int instead should prevent problems from happening in
the future.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions