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 14:51:07 -0700 |
commit | 1359555eb77d240b7c1d7ee75bb07e89e89770e4 (patch) | |
tree | 62ee852622700d23dffa7593c84420762e07147f /mm/fadvise.c | |
parent | 44b760a825fae65629fb04b1deeab68c6bef5c50 (diff) |
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 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions