]> 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)
commita9836cbb5fc885d3b8f3b91b2d47525f7269dec1
tree3cf375267190e61fdd1cd6679c5ac74ec555386a
parentb47ac27a1dbebc559156f92a0807dc957bb12731
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: b9acf24f779c ("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