diff options
Diffstat (limited to 'arch/arm/mach-tegra/tegra2_emc.c')
| -rw-r--r-- | arch/arm/mach-tegra/tegra2_emc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra2_emc.c b/arch/arm/mach-tegra/tegra2_emc.c index ce7ce42a1ac9..9e8bdfa2b369 100644 --- a/arch/arm/mach-tegra/tegra2_emc.c +++ b/arch/arm/mach-tegra/tegra2_emc.c | |||
| @@ -276,7 +276,7 @@ static struct tegra_emc_pdata *tegra_emc_fill_pdata(struct platform_device *pdev | |||
| 276 | int i; | 276 | int i; |
| 277 | 277 | ||
| 278 | WARN_ON(pdev->dev.platform_data); | 278 | WARN_ON(pdev->dev.platform_data); |
| 279 | BUG_ON(IS_ERR_OR_NULL(c)); | 279 | BUG_ON(IS_ERR(c)); |
| 280 | 280 | ||
| 281 | pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); | 281 | pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); |
| 282 | pdata->tables = devm_kzalloc(&pdev->dev, sizeof(*pdata->tables), | 282 | pdata->tables = devm_kzalloc(&pdev->dev, sizeof(*pdata->tables), |
