projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aaf2fe
)
include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __KERNEL__
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:23 +0000
(21:42 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:23 +0000
(21:42 +0200)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/hdreg.h
patch
|
blob
|
history
diff --git
a/include/linux/hdreg.h
b/include/linux/hdreg.h
index ed21bd3dbd2552a9322a45c943e078d0e6a4e2fc..47fcb05af8b4cfde96e66d836335d4152e2e8e8d 100644
(file)
--- 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