summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPenda Naveen <pnaveen@ti.com>2010-08-02 14:58:27 +0530
committerBryan Wu <bryan.wu@canonical.com>2010-08-26 21:45:37 +0800
commit1fddcc91252a14ded0e7781d9b60b90cd64bc207 (patch)
treea31a264fd03f7f562bad519df03956c0f991a21f /include
parent380f5cfbb72be06aa95f603846aac8aadcbd9069 (diff)
fix for userspaces components to build successfull
From userspace if you try to access 32k counter, you will notice build failures due to missing definitions which are defined in the added header files Signed-off-by: Penda Naveen <pnaveen@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/timer-32k.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/timer-32k.h b/include/linux/timer-32k.h
index 1bd2973b0d85..98fc2dc76e06 100644
--- a/include/linux/timer-32k.h
+++ b/include/linux/timer-32k.h
@@ -16,6 +16,11 @@
#define OMAP_32K_READRAW _IOWR('t', 1, uint32_t)
#ifndef __KERNEL__
+
+#include <stdint.h>
+#include <fcntl.h>
+#include <sys/ioctl.h>
+
static inline uint32_t __omap_32k_call(int nr)
{
static int fd;