]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MIPS: RB532: Fix id usage in platform devices
authorFlorian Fainelli <florian@openwrt.org>
Fri, 22 Aug 2008 15:03:03 +0000 (17:03 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:46 +0000 (16:18 +0100)
commitb6e2f58a503b56e154f90dc516647c93c5fe873d
tree13e4fbed1f5fff91714c9c19ca97d77d94a1455f
parentc76befc3429354909d3242d11b8d3bcb3bea4b03
MIPS: RB532: Fix id usage in platform devices

When there is only platform device of the same type, id = -1
should be used, fix this.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/devices.c