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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 3, 2009 - 10:59 am

Gitweb:     http://git.kernel.org/linus/6fd5c665d8fe9da5f2081f0b3ca8054f0f730b1a
Commit:     6fd5c665d8fe9da5f2081f0b3ca8054f0f730b1a
Parent:     4aaf2fec718f6fbf38668edf733a0ab09a49cab1
Author:     Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
AuthorDate: Wed Apr 1 21:42:23 2009 +0200
Committer:  Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
CommitDate: Wed Apr 1 21:42:23 2009 +0200

    include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __KERNEL__
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 include/linux/hdreg.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h
index ed21bd3..47fcb05 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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
include/linux/hdreg.h: cover struct hd_driveid with #ifnde ..., Linux Kernel Mailing ..., (Fri Apr 3, 10:59 am)