diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-01 15:42:25 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-01 15:42:25 -0400 |
commit | dafd01cc14a38690c87981eb2670d9c95f799ffd (patch) | |
tree | f91e908f18177569fcb17ad6f628e862c5a3f1ad /include/linux/hdreg.h | |
parent | 04b3ab52a000ab7e718efc97e9fdd67d95002d11 (diff) |
include/linux/hdreg.h: cover WIN_* and friends with #ifndef/#endif __KERNEL__
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/hdreg.h')
-rw-r--r-- | include/linux/hdreg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h index 47fcb05af8b4..101eb91de22f 100644 --- a/include/linux/hdreg.h +++ b/include/linux/hdreg.h | |||
@@ -191,6 +191,7 @@ typedef struct hd_drive_hob_hdr { | |||
191 | #define TASKFILE_INVALID 0x7fff | 191 | #define TASKFILE_INVALID 0x7fff |
192 | #endif | 192 | #endif |
193 | 193 | ||
194 | #ifndef __KERNEL__ | ||
194 | /* ATA/ATAPI Commands pre T13 Spec */ | 195 | /* ATA/ATAPI Commands pre T13 Spec */ |
195 | #define WIN_NOP 0x00 | 196 | #define WIN_NOP 0x00 |
196 | /* | 197 | /* |
@@ -379,6 +380,7 @@ typedef struct hd_drive_hob_hdr { | |||
379 | #define SECURITY_ERASE_UNIT 0xBD | 380 | #define SECURITY_ERASE_UNIT 0xBD |
380 | #define SECURITY_FREEZE_LOCK 0xBE | 381 | #define SECURITY_FREEZE_LOCK 0xBE |
381 | #define SECURITY_DISABLE_PASSWORD 0xBF | 382 | #define SECURITY_DISABLE_PASSWORD 0xBF |
383 | #endif /* __KERNEL__ */ | ||
382 | 384 | ||
383 | struct hd_geometry { | 385 | struct hd_geometry { |
384 | unsigned char heads; | 386 | unsigned char heads; |