From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olof Johansson Subject: Re: [PATCH 08/10] arm/tegra: pinmux tables and definitions for tegra30 Date: Fri, 18 Nov 2011 13:43:24 -0800 Message-ID: <20111118214324.GD31678@quad.lixom.net> References: <1321546766-26770-1-git-send-email-pdeschrijver@nvidia.com> <1321546766-26770-9-git-send-email-pdeschrijver@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1321546766-26770-9-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Peter De Schrijver Cc: Grant Likely , Rob Herring , Randy Dunlap , Russell King , Colin Cross , Stephen Warren , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org Hi, > @@ -667,7 +710,12 @@ void tegra_pinmux_config_pullupdown_table(const struct tegra_pingroup_config *co > } > > static struct of_device_id tegra_pinmux_of_match[] __devinitdata = { > +#ifdef CONFIG_ARCH_TEGRA_2x_SOC > { .compatible = "nvidia,tegra20-pinmux", tegra20_pinmux_init }, > +#endif > +#ifdef CONFIG_ARCH_TEGRA_3x_SOC > + { .compatible = "nvidia,tegra30-pinmux", tegra30_pinmux_init }, > +#endif Again, provide empty stubs instead of ifdeffing the table. -Olof