patch-1.3.23 linux/include/linux/hdreg.h
Next file: linux/include/linux/igmp.h
Previous file: linux/include/asm-i386/io.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Sep 3 14:04:52 1995
- Orig file:
v1.3.22/linux/include/linux/hdreg.h
- Orig date:
Mon Aug 28 14:52:22 1995
diff -u --recursive --new-file v1.3.22/linux/include/linux/hdreg.h linux/include/linux/hdreg.h
@@ -1,8 +1,6 @@
#ifndef _LINUX_HDREG_H
#define _LINUX_HDREG_H
-#include <linux/config.h>
-
/*
* This file contains some defines for the AT-hd-controller.
* Various sources.
@@ -154,14 +152,19 @@
/* unsigned short reservedyy[96];*/ /* reserved (words 160-255) */
};
+#ifdef __KERNEL__
/*
* These routines are used for kernel command line parameters from main.c:
*/
+#include <linux/config.h>
+
#ifdef CONFIG_BLK_DEV_HD
void hd_setup(char *, int *);
#endif /* CONFIG_BLK_DEV_HD */
#ifdef CONFIG_BLK_DEV_IDE
void ide_setup(char *);
#endif /* CONFIG_BLK_DEV_IDE */
+
+#endif /* __KERNEL__ */
#endif /* _LINUX_HDREG_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this