Skip to content

Commit

Permalink
include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __…
Browse files Browse the repository at this point in the history
…KERNEL__

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Apr 1, 2009
1 parent 4aaf2fe commit 6fd5c66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/hdreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6fd5c66

Please sign in to comment.