aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysfs.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-18 08:58:08 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-18 16:40:06 -0400
commit5851fadce8824d5d4b8fd02c22ae098401f6489e (patch)
treec06fcf0d444658c82bbfbdcd7609bed44067ac7d /include/linux/sysfs.h
parentd9c1e9a8fff512bb6c43461181d4360f1c8cfd6d (diff)
[PATCH] Fix build error due to not including <linux/errno.h>
Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 <linux/sysfs.h> is using ENOSYS without including <linux/errno.h> if CONFIG_SYSFS is disabled. Fixed by including <linux/errno.h>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r--include/linux/sysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 0544edda7168..fea9a6b3fb7b 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -11,6 +11,7 @@
11#define _SYSFS_H_ 11#define _SYSFS_H_
12 12
13#include <linux/compiler.h> 13#include <linux/compiler.h>
14#include <linux/errno.h>
14#include <linux/list.h> 15#include <linux/list.h>
15#include <asm/atomic.h> 16#include <asm/atomic.h>
16 17