summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/cdi.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /drivers/cdrom/cdi.c
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'drivers/cdrom/cdi.c')
-rw-r--r--drivers/cdrom/cdi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/cdrom/cdi.c b/drivers/cdrom/cdi.c
index c45056d2e..ee90de9c6 100644
--- a/drivers/cdrom/cdi.c
+++ b/drivers/cdrom/cdi.c
@@ -28,6 +28,7 @@
#include <linux/config.h>
#include <linux/blk.h> /* where the proto type of cdi_init() is */
+#include <linux/init.h>
#ifdef CONFIG_ISP16_CDI
#include <linux/isp16.h>
#endif CONFIG_ISP16_CDI
@@ -35,8 +36,8 @@
/*
* Cdrom interface configuration.
*/
-int
-cdi_init(void)
+__initfunc(int
+cdi_init(void))
{
int ret_val = -1;