commit | 1359555eb77d240b7c1d7ee75bb07e89e89770e4 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Sep 09 12:54:16 2007 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 12 14:51:07 2007 -0700 |
tree | 62ee852622700d23dffa7593c84420762e07147f | |
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>