]> git.baikalelectronics.ru Git - kernel.git/commit
net: tilegx: use correct timespec64 type
authorArnd Bergmann <arnd@arndb.de>
Fri, 17 Jun 2016 16:15:30 +0000 (18:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jun 2016 05:27:38 +0000 (22:27 -0700)
commite241c894cda58150247bff8fc646db39f7c87ccb
tree3cf375267190e61fdd1cd6679c5ac74ec555386a
parentb674ed66dae598dc9e30aa6a31a2d2ae735b4dca
net: tilegx: use correct timespec64 type

The conversion to the 64-bit time based ptp methods left two instances
of 'struct timespec' in place. This is harmless because 64-bit
architectures define timespec64 as timespec, and this driver is
not used on 32-bit machines.

However, using 'struct timespec64' directly is obviously the right
thing to do, and will help us remove 'struct timespec' in the future.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 5b9769b42896 ("ptp: tilegx: convert to the 64 bit get/set time methods.")
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c