of_id = of_match_device(altera_tse_ids, &pdev->dev); if (of_id) priv->dmaops = (struct altera_dmaops *)of_id->data; priv->dmaops = device_get_match_data(&pdev->dev); if (priv->dmaops && priv->dmaops->altera_dtype == ALTERA_DTYPE_SGDMA) { 42 changes: 1 addition & ...