summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_fiq_debugger.h
Commit message (Collapse)AuthorAge
* platform: tegra: Import tegra_fiq_debugger from linux-4.4Mikko Perttunen2018-06-23
Moving tegra_fiq_debugger driver to nvidia repo. This is a migration patch from Kernel 4.9. As the original one commit d2c919e9d698 ("platform: tegra: Import from linux-4.4") included many other files and drivers while this one only aims at the tegra_fiq_debugger, so renewing the commit log. And, since the patch (https://git-master.nvidia.com/r/1554655), commit b99e994f9bd6 ("platform: tegra: move tegra_fiq_debugger from mach-tegra"), added its header file, this patch squashes that one too. It also fixes warnings reported by checkpatch script: WARNING: Missing a blank line after declarations #95: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:68: + struct tegra_fiq_debugger *t; + t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); WARNING: Missing a blank line after declarations #111: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:84: + struct tegra_fiq_debugger *t; + t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); WARNING: Missing a blank line after declarations #129: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:102: + struct tegra_fiq_debugger *t; + t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); WARNING: Missing a blank line after declarations #140: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:113: + struct tegra_fiq_debugger *t; + t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); WARNING: Possible unnecessary 'out of memory' message #166: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:139: + if (!t) { + pr_err("Failed to allocate for fiq debugger\n"); WARNING: Possible unnecessary 'out of memory' message #184: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:157: + if (!res) { + pr_err("Failed to alloc fiq debugger resources\n"); WARNING: Possible unnecessary 'out of memory' message #190: FILE: drivers/platform/tegra/tegra_fiq_debugger.c:163: + if (!pdev) { + pr_err("Failed to alloc fiq debugger platform device\n"); Bug 200416212 Change-Id: Iaea87259bcda9c5a2e1a01b03d905debe52aa016 Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1750507 GVS: Gerrit_Virtual_Submit Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>