summaryrefslogtreecommitdiffstats
path: root/drivers/ide/atiixp.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2015-10-22 18:15:50 +0530
committerDavid S. Miller <davem@davemloft.net>2015-11-03 11:51:08 -0500
commit353b39d1b1511376aca71bc3aba62831370561ca (patch)
tree534e14adf4e391981f22494b926cbbc3b9ec685e /drivers/ide/atiixp.c
parent6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff)
downloadlinux-353b39d1b1511376aca71bc3aba62831370561ca.tar.gz
linux-353b39d1b1511376aca71bc3aba62831370561ca.tar.bz2
linux-353b39d1b1511376aca71bc3aba62831370561ca.zip
ide: pdc202xx_new: Replace timeval with ktime_t
This driver uses 'struct timeval' which we are trying to remove since 32 bit time types will break in the year 2038 by replacing it with ktime_t. This patch changes do_gettimeofday() to ktime_get() because ktime_get() returns a ktime_t while do_gettimeofday() returns struct timeval. This patch also uses ktime_us_delta() to get the elapsed time. Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/atiixp.c')
0 files changed, 0 insertions, 0 deletions