]> git.baikalelectronics.ru Git - kernel.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)
commit5b3369ef1e8f726ebbacf4024947757a7d256306
tree13e4fbed1f5fff91714c9c19ca97d77d94a1455f
parent9754e6a03d06285f6d12549f5bd1d1b458f940d0
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