aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pps_kernel.h')
-rw-r--r--include/linux/pps_kernel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/pps_kernel.h b/include/linux/pps_kernel.h
index e0a193f830e..23f63c3263b 100644
--- a/include/linux/pps_kernel.h
+++ b/include/linux/pps_kernel.h
@@ -18,6 +18,9 @@
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */ 19 */
20 20
21#ifndef LINUX_PPS_KERNEL_H
22#define LINUX_PPS_KERNEL_H
23
21#include <linux/pps.h> 24#include <linux/pps.h>
22 25
23#include <linux/cdev.h> 26#include <linux/cdev.h>
@@ -71,7 +74,6 @@ struct pps_device {
71 74
72extern spinlock_t pps_idr_lock; 75extern spinlock_t pps_idr_lock;
73extern struct idr pps_idr; 76extern struct idr pps_idr;
74extern struct timespec pps_irq_ts[];
75 77
76extern struct device_attribute pps_attrs[]; 78extern struct device_attribute pps_attrs[];
77 79
@@ -87,3 +89,5 @@ extern void pps_unregister_source(int source);
87extern int pps_register_cdev(struct pps_device *pps); 89extern int pps_register_cdev(struct pps_device *pps);
88extern void pps_unregister_cdev(struct pps_device *pps); 90extern void pps_unregister_cdev(struct pps_device *pps);
89extern void pps_event(int source, struct pps_ktime *ts, int event, void *data); 91extern void pps_event(int source, struct pps_ktime *ts, int event, void *data);
92
93#endif /* LINUX_PPS_KERNEL_H */