summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/nsc-ircc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/nsc-ircc.h')
-rw-r--r--drivers/net/irda/nsc-ircc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/irda/nsc-ircc.h b/drivers/net/irda/nsc-ircc.h
index 32fa58211fa..7be5acb5653 100644
--- a/drivers/net/irda/nsc-ircc.h
+++ b/drivers/net/irda/nsc-ircc.h
@@ -28,7 +28,7 @@
#ifndef NSC_IRCC_H
#define NSC_IRCC_H
-#include <linux/time.h>
+#include <linux/ktime.h>
#include <linux/spinlock.h>
#include <linux/pm.h>
@@ -263,8 +263,7 @@ struct nsc_ircc_cb {
__u8 ier; /* Interrupt enable register */
- struct timeval stamp;
- struct timeval now;
+ ktime_t stamp;
spinlock_t lock; /* For serializing operations */