From: Ohad Ben-Cohen Date: Thu, 23 Feb 2012 08:53:35 +0000 (+0200) Subject: ARM: OMAP2: fix mailbox init code X-Git-Tag: v3.3-rc6~22^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655850ed7e3e90dcb5ae88ae63f75acbf5465213;p=pandora-kernel.git ARM: OMAP2: fix mailbox init code Fix this: arch/arm/mach-omap2/mailbox.c: In function 'omap2_mbox_probe': arch/arm/mach-omap2/mailbox.c:354: error: 'omap2_mboxes' undeclared (first use in this function) arch/arm/mach-omap2/mailbox.c:354: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/mailbox.c:354: error: for each function it appears in.) Which happens on CONFIG_ARCH_OMAP2 && !CONFIG_SOC_OMAP2420, due to missing omap2_mboxes declaration. In addition, make sure we declare the right mailbox instances for 2430. Reported-by: Russell King Signed-off-by: Ohad Ben-Cohen Cc: Hiroshi Doyu Cc: Omar Ramirez Luna Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed