omap: mailbox: check iomem resource before dereferencing it
authorFernando Guzman Lugo <fernando.lugo@ti.com>
Thu, 3 Nov 2011 20:16:11 +0000 (15:16 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Mon, 7 May 2012 08:34:42 +0000 (03:34 -0500)
commit0ab87bc4f31becf1abd06bf40521165aa1c92f74
tree31eee23dbcd24cf7318692c0ff241dda331ec54a
parentddd4e47777fb6670992121f55845af484ab34471
omap: mailbox: check iomem resource before dereferencing it

Add a NULL check for iomem resource in mailbox probe functions

Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
arch/arm/mach-omap1/mailbox.c
arch/arm/mach-omap2/mailbox.c