omap3: Fix booting if package is uninitialized
authorTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:08 +0000 (10:29 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:08 +0000 (10:29 -0800)
commitd04eb60066ed532d2e5da9f39cc0c79883d8a33c
tree7c395d937dd1a430ce4a9001698d97d5f1731ba8
parent1b6e821f234f9e22ad1ef4919e140625af251935
omap3: Fix booting if package is uninitialized

Otherwise bringing up new boards can be harder:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1]
last sysfs file:
Modules linked in:
CPU: 0    Not tainted  (2.6.33-rc2-00015-g0bc9c93-dirty #37)
PC is at omap_mux_init+0xa4/0x3d8
LR is at omap_mux_init+0x3c/0x3d8
...

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c