adsp: updated standard include path & clock_t api

cputime64_to_clock_t is deprecated on kernel 4.14
as it is an architecture defined type
so changing cputime64 to nsecs.

Bug 200406253

Change-Id: I16bac09da698ca1b15130be69fb7c58c70d3ce94
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1742429
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Nandakumar M <anandakumarm@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>
This commit is contained in:
Dara Ramesh
2018-06-07 14:57:17 +05:30
committed by Laxman Dewangan
parent 159d4e9e34
commit beddbe937e
2 changed files with 9 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
*
* adsp mailbox console driver
*
* Copyright (C) 2014-2016, NVIDIA Corporation. All rights reserved.
* Copyright (C) 2014-2018, NVIDIA Corporation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -30,7 +30,7 @@
#include <linux/tegra_nvadsp.h>
#include <linux/platform_device.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include "dev.h"
#include "adsp_console_ioctl.h"