Re: [PATCH] mmc: tegra: convert to device tree support only

2012-08-27 Thread Chris Ball
Hi, On Thu, Aug 23 2012, Joseph Lo wrote: On Sat, 2012-08-18 at 03:01 +0800, Stephen Warren wrote: On 08/17/2012 01:04 AM, Joseph Lo wrote: When compiling a kernel that supports only Tegra30 and not Tegra20, the SDHCI driver will fail to compile since the of_match_device() failure

Re: [PATCH] mmc: tegra: convert to device tree support only

2012-08-23 Thread Joseph Lo
On Sat, 2012-08-18 at 03:01 +0800, Stephen Warren wrote: On 08/17/2012 01:04 AM, Joseph Lo wrote: When compiling a kernel that supports only Tegra30 and not Tegra20, the SDHCI driver will fail to compile since the of_match_device() failure fallback code unconditinally references

[PATCH] mmc: tegra: convert to device tree support only

2012-08-17 Thread Joseph Lo
When compiling a kernel that supports only Tegra30 and not Tegra20, the SDHCI driver will fail to compile since the of_match_device() failure fallback code unconditinally references soc_data_tegra20, which is only compiled in when Tegra20 support is enabled. In Kernel 3.7, both Tegra20 and

Re: [PATCH] mmc: tegra: convert to device tree support only

2012-08-17 Thread Stephen Warren
On 08/17/2012 01:04 AM, Joseph Lo wrote: When compiling a kernel that supports only Tegra30 and not Tegra20, the SDHCI driver will fail to compile since the of_match_device() failure fallback code unconditinally references soc_data_tegra20, which is only compiled in when Tegra20 support is