diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-01 15:42:23 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-01 15:42:23 -0400 |
commit | 6fd5c665d8fe9da5f2081f0b3ca8054f0f730b1a (patch) | |
tree | 7592f6e3e6a884744dd378cdddd6334b1f60a427 | |
parent | 4aaf2fec718f6fbf38668edf733a0ab09a49cab1 (diff) |
include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __KERNEL__
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-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 ed21bd3dbd25..47fcb05af8b4 100644 --- a/include/linux/hdreg.h +++ b/include/linux/hdreg.h | |||
@@ -448,6 +448,7 @@ enum { | |||
448 | 448 | ||
449 | #define __NEW_HD_DRIVE_ID | 449 | #define __NEW_HD_DRIVE_ID |
450 | 450 | ||
451 | #ifndef __KERNEL__ | ||
451 | /* | 452 | /* |
452 | * Structure returned by HDIO_GET_IDENTITY, as per ANSI NCITS ATA6 rev.1b spec. | 453 | * Structure returned by HDIO_GET_IDENTITY, as per ANSI NCITS ATA6 rev.1b spec. |
453 | * | 454 | * |
@@ -699,6 +700,7 @@ struct hd_driveid { | |||
699 | * 7:0 Signature | 700 | * 7:0 Signature |
700 | */ | 701 | */ |
701 | }; | 702 | }; |
703 | #endif /* __KERNEL__ */ | ||
702 | 704 | ||
703 | /* | 705 | /* |
704 | * IDE "nice" flags. These are used on a per drive basis to determine | 706 | * IDE "nice" flags. These are used on a per drive basis to determine |