summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kobject.h2
-rw-r--r--include/linux/kref.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index f3f20feee67b..331d25b9cc41 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -15,7 +15,7 @@
#ifndef _KOBJECT_H_
#define _KOBJECT_H_
-#if __KERNEL__
+#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/list.h>
diff --git a/include/linux/kref.h b/include/linux/kref.h
index a8a8b05ca3d0..ea5948785ebf 100644
--- a/include/linux/kref.h
+++ b/include/linux/kref.h
@@ -15,7 +15,7 @@
#ifndef _KREF_H_
#define _KREF_H_
-#if __KERNEL__
+#ifdef __KERNEL__
#include <linux/types.h>
#include <asm/atomic.h>