Tegra: delay_timer: fix MISRA defects
authorAnthony Zhou <anzhou@nvidia.com>
Thu, 27 Apr 2017 14:00:54 +0000 (22:00 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 15 Jun 2017 00:01:51 +0000 (17:01 -0700)
commit3436089d6725e74c836ae6c1f5367eeedc051f48
treecbc273561508da09a60ac4319de88e5f9d7e4a2f
parent9a8f05e47d00efa2f1eac07fe4373de464b5b11c
Tegra: delay_timer: fix MISRA defects

Main fixes:

* Include header file for function declarations [Rule 8.4]
* Move global object into function [Rule 8.9]

Change-Id: I1bc9f3f0ebd4ffc0b8444ac856cd97b0cb56bda4
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
plat/nvidia/tegra/common/tegra_delay_timer.c