summaryrefslogtreecommitdiff
path: root/include/linux/mmiotrace.h
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 21:21:03 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 11:27:28 +0200
commit970e6fa03885f32cc43e42cb08c73a5f54cd8bd9 (patch)
tree36fd85de2ac0e43c93a7274f8cd1e5ddf630617c /include/linux/mmiotrace.h
parent6f6f394d9ca61fcc73ecfd2f2bf58e92dc1ab269 (diff)
downloadlwn-970e6fa03885f32cc43e42cb08c73a5f54cd8bd9.tar.gz
lwn-970e6fa03885f32cc43e42cb08c73a5f54cd8bd9.zip
mmiotrace: code style cleanups
From c2da03771e29159627c5c7b9509ec70bce9f91ee Mon Sep 17 00:00:00 2001 From: Pekka Paalanen <pq@iki.fi> Date: Mon, 28 Apr 2008 21:25:22 +0300 Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/mmiotrace.h')
-rw-r--r--include/linux/mmiotrace.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/mmiotrace.h b/include/linux/mmiotrace.h
index dd6b64b160fc..de8e91258da7 100644
--- a/include/linux/mmiotrace.h
+++ b/include/linux/mmiotrace.h
@@ -1,9 +1,7 @@
#ifndef MMIOTRACE_H
#define MMIOTRACE_H
-#include <asm/types.h>
-
-#ifdef __KERNEL__
+#include <linux/types.h>
#include <linux/list.h>
@@ -84,6 +82,4 @@ extern void disable_mmiotrace(void);
extern void mmio_trace_rw(struct mmiotrace_rw *rw);
extern void mmio_trace_mapping(struct mmiotrace_map *map);
-#endif /* __KERNEL__ */
-
#endif /* MMIOTRACE_H */