mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-12 08:00:09 +00:00
include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __KERNEL__
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
4aaf2fec71
commit
6fd5c665d8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user