Re: [PATCH] remove __exit from mptscsih_exit()

From: Martin Hicks
Date: Thu Feb 05 2004 - 18:24:12 EST




On Thu, Feb 05, 2004 at 06:17:19PM -0500, Martin Hicks wrote:
>
> Hi James and Andrew
>
> I needed to apply this patch to get my kernel to link on ia64. The
> patch is against 2.6.2-mm1

and the patch this time...

--
Martin Hicks Wild Open Source Inc.
mort@xxxxxxxxxxxxxxxxxx 613-266-2296
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1552 -> 1.1553
# drivers/message/fusion/mptscsih.c 1.32 -> 1.33
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/02/05 mort@xxxxxxxxxxxxxxxx 1.1553
# Get rid of __exit from mptscsih_exit() to get the
# kernel to link.
# --------------------------------------------
#
diff -Nru a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
--- a/drivers/message/fusion/mptscsih.c Thu Feb 5 18:13:39 2004
+++ b/drivers/message/fusion/mptscsih.c Thu Feb 5 18:13:39 2004
@@ -198,7 +198,7 @@

/* module entry point */
static int __init mptscsih_init (void);
-static void __exit mptscsih_exit (void);
+static void mptscsih_exit (void);

static int __devinit mptscsih_probe (struct pci_dev *, const struct pci_device_id *);
static void __devexit mptscsih_remove(struct pci_dev *);
@@ -1985,7 +1985,7 @@
*
*/
static void
-__exit mptscsih_exit(void)
+mptscsih_exit(void)
{
MPT_ADAPTER *ioc;