patch-2.3.48 linux/drivers/block/gayle.c
Next file: linux/drivers/block/hpt34x.c
Previous file: linux/drivers/block/falconide.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Feb 26 20:32:13 2000
- Orig file:
v2.3.47/linux/drivers/block/gayle.c
- Orig date:
Thu May 13 11:04:54 1999
diff -u --recursive --new-file v2.3.47/linux/drivers/block/gayle.c linux/drivers/block/gayle.c
@@ -41,7 +41,7 @@
#define GAYLE_STATUS 0x1e /* see status-bits */
#define GAYLE_CONTROL 0x101a
-static int gayle_offsets[IDE_NR_PORTS] = {
+static int __init gayle_offsets[IDE_NR_PORTS] = {
GAYLE_DATA, GAYLE_ERROR, GAYLE_NSECTOR, GAYLE_SECTOR, GAYLE_LCYL,
GAYLE_HCYL, GAYLE_SELECT, GAYLE_STATUS, -1, -1
};
@@ -105,7 +105,7 @@
* Probe for a Gayle IDE interface (and optionally for an IDE doubler)
*/
-void gayle_init(void)
+void __init gayle_init(void)
{
int a4000, i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)