]> git.karo-electronics.de Git - linux-beck.git/commit
ARM i.MX51: return gracefully on different socs
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 4 Nov 2010 22:08:17 +0000 (23:08 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Nov 2010 09:09:01 +0000 (10:09 +0100)
commit92fcdc9d1054a630f224657dc675e03bf3bb62ed
tree5bc1c3b420a8f025cba86a33de1a3a1ee00d9293
parent8bffb77e198df83224a6a258291bd41c05ab84d1
ARM i.MX51: return gracefully on different socs

Code called from an initcall can be maybe called for
machines it's not intended for. So check for valid
machines and return gracefully if an incompatible machine
is found.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/cpu.c