diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-09-09 22:29:13 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-09-09 22:29:13 +0200 |
commit | 51e5709ad46127da9476f31336113b5401f94dba (patch) | |
tree | b5ac346545ef80576843143108060125f9c6bbd2 /include/asm-m68k/signal.h | |
parent | 9a3180e70e35ff69586ada5421b5e7bad52f60e4 (diff) | |
download | op-kernel-dev-51e5709ad46127da9476f31336113b5401f94dba.zip op-kernel-dev-51e5709ad46127da9476f31336113b5401f94dba.tar.gz |
i2c-pxa: Fix adapter number
It turns out that platform_device.id is a "u32" so testing it for being
nonnegative is useless when setting up an i2c adapte. Instead,
do what the platform_bus code does and test it against the value "-1".
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/asm-m68k/signal.h')
0 files changed, 0 insertions, 0 deletions