From: Felipe Balbi Date: Thu, 4 Mar 2010 07:45:53 +0000 (+0200) Subject: omap2/3/4: ehci: avoid compiler error with touchbook X-Git-Tag: v2.6.34-rc2~13^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f69a1815a93722b360a1439934856e766509002;p=pandora-kernel.git omap2/3/4: ehci: avoid compiler error with touchbook the early_param() call in board-omap3touchbook.c expands to: static const char __setup_str_early_touchbook_revision[] __section(.init.rodata) _aligned(1) = tbr; [...] and we have a non-const variable being added to the same section: static struct ehci_hcd_omap_platform_data ehci_pdata __section(.init.rodata); because of that, gcc generates a section type conflict which can (and actually should) be avoided by marking const every variable marked with __initconst. This patch fixes that for the ehci_hdc_omap_platform_data. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed