Commit 509b39b1 authored by Patrick Mochel's avatar Patrick Mochel

kobject.h - add check that we're being included by other kernel entities.

parent 62235781
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
*/ */
#ifndef _KOBJECT_H_ #if defined(__KERNEL__) && !defined(_KOBJECT_H_)
#define _KOBJECT_H_ #define _KOBJECT_H_
#include <linux/types.h> #include <linux/types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment