[PATCH 8/9] ata: Add support for the Tegra124 SATA controller
Mikko Perttunen
mperttunen at nvidia.com
Thu Jun 5 05:59:15 PDT 2014
Thanks, will remove.
- Mikko
On 05/06/14 15:18, Rob Herring wrote:
> On Wed, Jun 4, 2014 at 6:32 AM, Mikko Perttunen <mperttunen at nvidia.com> wrote:
>> This adds support for the integrated AHCI-compliant Serial ATA
>> controller present on the NVIDIA Tegra124 system-on-chip.
>>
>> Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com>
>> ---
>
> [...]
>
>> +static int tegra_ahci_probe(struct platform_device *pdev)
>> +{
>> + const struct of_device_id *match;
>> + struct ahci_host_priv *hpriv;
>> + struct tegra_ahci_priv *tegra;
>> + int ret;
>> +
>> + match = of_match_device(tegra_ahci_of_match, &pdev->dev);
>
> This is not needed.
>
>> + if (!match)
>> + return -EINVAL;
>> +
More information about the linux-arm-kernel
mailing list