summaryrefslogtreecommitdiff
path: root/include/linux/hdreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hdreg.h')
-rw-r--r--include/linux/hdreg.h2
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 {
#define __NEW_HD_DRIVE_ID
+#ifndef __KERNEL__
/*
* Structure returned by HDIO_GET_IDENTITY, as per ANSI NCITS ATA6 rev.1b spec.
*
@@ -699,6 +700,7 @@ struct hd_driveid {
* 7:0 Signature
*/
};
+#endif /* __KERNEL__ */
/*
* IDE "nice" flags. These are used on a per drive basis to determine