diff options
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index 2a68bfa46e43..60405a6e4c22 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -48,11 +48,10 @@ struct sysfs_dirent { | |||
48 | #define SD_DEACTIVATED_BIAS INT_MIN | 48 | #define SD_DEACTIVATED_BIAS INT_MIN |
49 | 49 | ||
50 | #define SYSFS_TYPE_MASK 0x00ff | 50 | #define SYSFS_TYPE_MASK 0x00ff |
51 | #define SYSFS_ROOT 0x0001 | 51 | #define SYSFS_DIR 0x0001 |
52 | #define SYSFS_DIR 0x0002 | 52 | #define SYSFS_KOBJ_ATTR 0x0002 |
53 | #define SYSFS_KOBJ_ATTR 0x0004 | 53 | #define SYSFS_KOBJ_BIN_ATTR 0x0004 |
54 | #define SYSFS_KOBJ_BIN_ATTR 0x0008 | 54 | #define SYSFS_KOBJ_LINK 0x0008 |
55 | #define SYSFS_KOBJ_LINK 0x0020 | ||
56 | #define SYSFS_COPY_NAME (SYSFS_DIR | SYSFS_KOBJ_LINK) | 55 | #define SYSFS_COPY_NAME (SYSFS_DIR | SYSFS_KOBJ_LINK) |
57 | 56 | ||
58 | #define SYSFS_FLAG_MASK ~SYSFS_TYPE_MASK | 57 | #define SYSFS_FLAG_MASK ~SYSFS_TYPE_MASK |