From: Suman Anna Date: Tue, 24 Jun 2014 05:24:27 +0000 (-0500) Subject: ARM: OMAP2+: create dsp device only on OMAP3 SoCs X-Git-Tag: omap-for-v3.16/fixes-rc4~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526570cb2067363ec93681837e43b4c774b1616c;p=pandora-kernel.git ARM: OMAP2+: create dsp device only on OMAP3 SoCs The DSP platform device for TI DSP/Bridge is currently created unconditionally whenever CONFIG_TIDSPBRIDGE is enabled. This device should only be created on OMAP34xx/ OMAP36xx SoCs, and not for other OMAP3 derived SoCs or when booting multi-arch images on other SoCs. So, add a check for the SoC family both before creating the device and allocating the carveout memory for the device. Signed-off-by: Suman Anna Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed