include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __KERNEL__

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 4aaf2fec
...@@ -448,6 +448,7 @@ enum { ...@@ -448,6 +448,7 @@ enum {
#define __NEW_HD_DRIVE_ID #define __NEW_HD_DRIVE_ID
#ifndef __KERNEL__
/* /*
* Structure returned by HDIO_GET_IDENTITY, as per ANSI NCITS ATA6 rev.1b spec. * Structure returned by HDIO_GET_IDENTITY, as per ANSI NCITS ATA6 rev.1b spec.
* *
...@@ -699,6 +700,7 @@ struct hd_driveid { ...@@ -699,6 +700,7 @@ struct hd_driveid {
* 7:0 Signature * 7:0 Signature
*/ */
}; };
#endif /* __KERNEL__ */
/* /*
* IDE "nice" flags. These are used on a per drive basis to determine * IDE "nice" flags. These are used on a per drive basis to determine
......
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